jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using g


From: Olivier Sessink
Subject: Re: [Jailkit-dev] jailkit-2.5 compilation problem on Solaris 10 using gcc
Date: Mon, 2 Jun 2008 13:47:45 +0200 (CEST)
User-agent: SquirrelMail/1.4.10a

> Hello Mo,
>
> referencing your first email:
>> Undefined                       first referenced
>>  symbol                             in file
>> bind                                jk_socketd.o
>> send                                jk_socketd.o
>> nanosleep                           jk_socketd.o
>> socket                              jk_socketd.o
>> connect                             jk_socketd.o
>> recvfrom                            jk_socketd.o
>> shutdown                            jk_socketd.o
> most symbols/functions come from the socket.h library (see "man 2 socket"
> as an example). So somewhere along the line, some header files are
> probably not included.

I think the problem is not in the header files but in the libraries. I
guess on Solaris we need to include a library during the linking stage
(add a -lfoobar option, where 'foobar' is the library that needs to be
included).

My problem is that I don't have solaris, and I don't know which library
could be needed... I'll have to google a bit for this.

regards,
  Olivier






reply via email to

[Prev in Thread] Current Thread [Next in Thread]