PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : daemontools-0.76 kompilieren



GreenShadow
26.09.04, 12:30
Ich wollt heut mal daemontools-0.76 installieren, bin nach http://cr.yp.to/daemontools/install.html vorgegangen. Allerdings kommt nach ./package/install gegen ende folgendes:



./compile stralloc_opys.c
./compile stralloc_pend.c
./compile strerr_die.c
./compile strerr_sys.c
./compile subgetopt.c
./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h
./compile wait_nohang.c
./compile wait_pid.c
./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o \
buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o \
coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o \
lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o \
open_trunc.o open_write.o openreadclose.o pathexec_env.o \
pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o \
sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o \
stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o \
stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o \
wait_pid.o
./load envdir unix.a byte.a
envdir.o(.text+0xe6): In function `main':
: undefined reference to `errno'
envdir.o(.text+0x235): 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+0x119): In function `pathexec_run':
: undefined reference to `errno'
unix.a(pathexec_run.o)(.text+0x15d): In function `pathexec_run':
: undefined reference to `errno'
unix.a(readclose.o)(.text+0x67): 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


Hat jemand Ahnung?
Vielen Dank im vorraus, GreenShadow

kratz00
26.09.04, 23:02
in dem file admin/daemontools-0.76/src/error.h

einfach nen #include <errno.h> anstelle von extern int errno;