Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot compile ucspi-tcp and daemontools

Status
Not open for further replies.

91Stomperud

Technical User
Apr 5, 2003
8
NO
I downloaded ucspi-tcp-0.88 and daemontool-0.76, but I cannot compile either package. My system is as follows:

Mandrake 9.1
KDE 3.1.0
qt 3.1.1
g++ (gcc) 3.2.2
perl 5.8.0
autoconf 2.54
automake 1.7
flex 2.5.4
Berkeley db 4.1.25

The output of (ucspi-tcp) make:

./load tcpserver rules.o remoteinfo.o timeoutconn.o cdb.a dns.a time.a unix.a byte.a `cat socket.lib`
tcpserver.o(.text+0x58b): In function `doit':
: undefined reference to `errno'
remoteinfo.o(.text+0x61): In function `mywrite':
: undefined reference to `errno'
remoteinfo.o(.text+0xe1): In function `myread':
: undefined reference to `errno'
timeoutconn.o(.text+0x45): In function `timeoutconn':
: undefined reference to `errno'
timeoutconn.o(.text+0xc8): In function `timeoutconn':
: undefined reference to `errno'
cdb.a(cdb.o)(.text+0xde): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [tcpserver] Error 1

daemontools package/install is as fo


The output of (daemontools) package/install:

Linking ./src/* into ./compile...
Compiling everything in ./compile...
./load envdir unix.a byte.a
envdir.o(.text+0xe5): In function `main':
: undefined reference to `errno'
envdir.o(.text+0x202): In function `main':
: undefined reference to `errno'
unix.a(openreadclose.o)(.text+0x47): In function `openreadclose':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0xf7): In function `pathexec_run':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x138): In function `pathexec_run':
: undefined reference to `errno'
unix.a(readclose.o)(.text+0x44): more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [envdir] Error 1
Copying commands into ./command...
cp: cannot stat `compile/svscan': No such file or directory

Any ideas?

Regards
 
I had simular problems compiling on linux box. I was not logged in as root, I su - root and received a butt load of errors. Make sure you are root when trying to compile these programs.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top