On Mon, Apr 28, 2003 at 01:25:19PM +0200, Zelei Tamas ELGI.HU NETWORK ADMINISTRATOR wrote:
Balazs Scheidler wrote:
On Mon, Apr 28, 2003 at 12:44:30PM +0200, Zelei Tamas ELGI.HU NETWORK ADMINISTRATOR wrote:
Balazs Scheidler wrote: a modositas nem tetszett neki, igy ezt a sort nem bantottam.
mert a diff-et HEAD-hez kepest csinaltam...
make[2]: Entering directory `/usr/src/zorp/zorp-2.0.2/zorp' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/src/zorp/zorp-2.0.2/lib -I/usr/src/zorp/zorp-2.0.2 -I/usr/include/python2.1 -I/usr/include/python2.1/ExtensionClass/ -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -D_GNU_SOURCE -pthread -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -g -O2 -Wall -W -g -D_GNU_SOURCE -c main.c main.c: In function `z_fatal_signal_handler': main.c:77: storage size of `act' isn't known main.c:80: `SIG_DFL' undeclared (first use in this function) main.c:80: (Each undeclared identifier is reported only once main.c:80: for each function it appears in.) main.c:81: warning: implicit declaration of function `sigaction' main.c:90: warning: implicit declaration of function `kill' main.c:77: warning: unused variable `act' main.c: In function `z_setup_signals': main.c:132: storage size of `act' isn't known main.c:136: `SIGPIPE' undeclared (first use in this function) main.c:137: `SIGINT' undeclared (first use in this function) main.c:138: `SIGTERM' undeclared (first use in this function) main.c:147: `SIGSEGV' undeclared (first use in this function) main.c:148: `SIGABRT' undeclared (first use in this function) main.c:149: `SIGILL' undeclared (first use in this function) main.c:153: `SIGTRAP' undeclared (first use in this function) main.c:157: `SIGHUP' undeclared (first use in this function) main.c:161: `SIGUSR1' undeclared (first use in this function) main.c:165: `SIGUSR2' undeclared (first use in this function) main.c:132: warning: unused variable `act' make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/usr/src/zorp/zorp-2.0.2/zorp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zorp/zorp-2.0.2' make: *** [all-recursive-am] Error 2
milyen libc-d van? a fenti szimbolumoknak a signal.h-ban kellene lenniuk, es ahogy nezem ez benne van a main.c-ben (37. sor nalam)
hopp, igazad van, en CVS-ben neztem, amiben mar a 2.0.3-as verzio van, amit viszont meg nem adtunk ki. gyors megoldaskent tegyel bele egy #include <signal.h>-t -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1