LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compiling with g++ (https://www.linuxquestions.org/questions/slackware-14/compiling-with-g-408998/)

Crobat 01-28-2006 01:25 PM

Compiling with g++
 
Hi. I'm trying to compile a program written that handles sockets. The program works in a SunOS environment.

However, when I try to compile the program in Slackware using g++, it doesn't recognize the -lsocket parameter. Is there a package out there that I have to download and install?

Wim Sturkenboom 01-30-2006 06:48 AM

-lsocket will link the socket library. Not required under gcc (and probably not under g++)

Crobat 01-31-2006 09:45 AM

Oh ok. Thanks. I'll just edit the makefile.


All times are GMT -5. The time now is 01:17 AM.