Problem beim compilen: /usr/bin/ld: cannot find -lsocket

  • Hi,
    wie ihr schon im Topic sehen könnt, habe ich ein Problem beim compilen eines Programmes:
    ____________________________________________________________
    Wenn ich versuche es zu compilen, kommt folgende Fehlermessage:
    ./Makefile: line 2: -lcrypt: command not found
    ./Makefile: line 4: linux:: command not found
    mserv.c: In function `readinbcasts':
    mserv.c:1624: warning: passing arg 2 of `fgetpos' from incompatible pointer type
    mserv.c: In function `main':
    mserv.c:1648: warning: return type of `main' is not `int'
    ./Makefile: line 6: solaris:: command not found
    mserv.c: In function `readinbcasts':
    mserv.c:1624: warning: passing arg 2 of `fgetpos' from incompatible pointer type
    mserv.c: In function `main':
    mserv.c:1648: warning: return type of `main' is not `int'
    /usr/bin/ld: cannot find -lsocket
    collect2: ld returned 1 exit status
    ____________________________________________________________

    Hoffe ihr könnt mir helfen, da ich als Linuxnewbie nicht so viel Ahnung davon habe...

    Dane

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress, WoltLab & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!