Thread View: news.software.nntp
4 messages
4 total messages
Started by Administrator
Thu, 16 Oct 1997 00:00
Problem compiling Diablo
Author: Administrator
Date: Thu, 16 Oct 1997 00:00
Date: Thu, 16 Oct 1997 00:00
22 lines
1290 bytes
1290 bytes
I am trying to build Diablo on a Sparc machine running Solaris 2.5. This
is what I am getting:
xmake -f lib/XMakefile all
xmake -f util/XMakefile all
gcc -g -O2 -Wall -Wstrict-prototypes -I. -Ilib -DVERS=1.13 obj/util_dicmd.o -Lobj -ldiablo
-lm -lnsl -o dbin/dicmd
Undefined first referenced
symbol in file
socket obj/util_dicmd.o
connect obj/util_dicmd.o
ld: fatal: Symbol referencing errors. No output written to dbin/dicmd
(all : dbin/dicmd) failed code 1.
xmake Exit 1
Can someone tell me what I am missing?
Thanks
Frank
Re: Problem compiling Diablo
Author: Marc Slemko
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
22 lines
1291 bytes
1291 bytes
In <626f44$ca2@bigdog.fred.net> root@bigdog.fred.net (Administrator) writes: >I am trying to build Diablo on a Sparc machine running Solaris 2.5. This >is what I am getting: >xmake -f lib/XMakefile all > xmake -f util/XMakefile all > gcc -g -O2 -Wall -Wstrict-prototypes -I. -Ilib -DVERS=1.13 obj/util_dicmd.o -Lobj -ldiablo >-lm -lnsl -o dbin/dicmd >Undefined first referenced > symbol in file >socket obj/util_dicmd.o >connect obj/util_dicmd.o >ld: fatal: Symbol referencing errors. No output written to dbin/dicmd >(all : dbin/dicmd) failed code 1. >xmake Exit 1 "-lsocket" ?
Re: Problem compiling Diablo
Author: Iain Lea
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
22 lines
1449 bytes
1449 bytes
Administrator <root@bigdog.fred.net> wrote: > I am trying to build Diablo on a Sparc machine running Solaris 2.5. This > is what I am getting: > xmake -f lib/XMakefile all > xmake -f util/XMakefile all > gcc -g -O2 -Wall -Wstrict-prototypes -I. -Ilib -DVERS=1.13 obj/util_dicmd.o -Lobj -ldiablo > -lm -lnsl -o dbin/dicmd > Undefined first referenced > symbol in file > socket obj/util_dicmd.o > connect obj/util_dicmd.o Add -lsocket to the LIBS entry in XMakefile.inc -- Iain Lea iain@ecrc.de <http://www.ecrc.de/> "We all enter this world in the same way: naked; screaming; soaked in blood. But if you live your life right, that kind of thing doesn't have to stop there." -- Dana Gould
Re: Problem compiling Diablo
Author: Ragnar Lonn
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
18 lines
1057 bytes
1057 bytes
In article <626f44$ca2@bigdog.fred.net>, root@bigdog.fred.net (Administrator) wrote: > >I am trying to build Diablo on a Sparc machine running Solaris 2.5. This >is what I am getting: > >Undefined first referenced > symbol in file >socket obj/util_dicmd.o >connect obj/util_dicmd.o You need to link with -lsocket -lnsl (it is in the makefile, I think, but outcommented) /Ragnar, Algonet/TNI
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads