This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fwd: Xconq messages


On 20 Jun, Jamal Hooks wrote:
> Hello,
> I'm trying to compile xconq 7.4.1 on Solaris 7 using gcc 2.9.5 and I'm 
> getting these messages while try to "make " the program.  I've no clue how 
> to fix this so I would apprciate any help you could give me.   Thanks.
> 
> Jamal Hooks
> jamal_hooks@hotmail.com
> 
> 
> ----Original Message Follows----
> # make
> make[1]: Entering directory `/super/compile/xconq-7.4.1/kernel'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/super/compile/xconq-7.4.1/kernel'
> make[1]: Entering directory `/super/compile/xconq-7.4.1/tcltk'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/super/compile/xconq-7.4.1/tcltk'
> make[1]: Entering directory `/super/compile/xconq-7.4.1/x11'
> rm -f xconq
> gcc -o xconq -g -DUNIX  -DHAVE_SELFILE   -I. -I./.. -I./../kernel
> -I./../tcl/generic -I./../tk/generic -I/usr/openwin/include
>   xconq.o ../tcltk/libtkui.a ../tcltk/libtkimf.a ../kernel/libconq.a 
> ../kernel/libconqlow.a
>   -L/usr/openwin/lib  -R /usr/local/lib -L/usr/local/lib -ltcl8.0
>    -L/usr/local/lib -ltk8.0 -lXext -lXmu -lX11  -ldl -lm
> Undefined                       first referenced
> symbol                             in file
> socket                              ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> getprotobyname                      ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> gethostbyname                       ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> accept                              ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> bind                                ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> setsockopt                          ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> gethostbyaddr                       ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
> listen                              ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> connect                             ../kernel/libconqlow.a(socket.o)  
> (symbol belongs to implicit dependency /usr/lib/libsocket.so.1)
> ld: fatal: Symbol referencing errors. No output written to xconq
> collect2: ld returned 1 exit status
> make[1]: *** [xconq] Error 1
> make[1]: Leaving directory `/super/compile/xconq-7.4.1/x11'
> make: *** [all-xconq] Error 2
> #
> 
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com

You're missing libnls or libnsl. Try adding -lnsl (-lnls) in the Makefile
where the binary is built.

L

-- 
Laurent Duperval <mailto:lduperval@microcelli5.com>

"When women say they love you just the way you are, they really mean it...
then they try to change you."
                     -Paraphrased from "Coach"



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]