2004-04-04, v keltezéssel 19:17-kor Börje Wallin ezt írta:
I have problems compiling Zorp. The configure part is performed without problems, but the make part is broken. I am compiling on a Fedora core 2 box. Below is the output from the make command. I am using gcc 3.3.2 and python 2.3. The ExtensionClass 1.2.1 and the libzorpll 2.0.26.24 compiled, and installed without problems.
make[3]: Entering directory `/home/reino/fedoraC2/BUILD/zorp-2.0.8/lib' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/reino/fedoraC2/BUILD/zorp-2.0.8/lib -I/home/reino/fedoraC2/BUILD/zorp-2.0.8 /usr/include/python2.3 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -march=i686 -O2 -Wall -W -g -D_GNU_SOURCE -c proxy.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/home/reino/fedoraC2/BUILD/zorp-2.0.8/lib -I/home/reino/fedoraC2/BUILD/zorp-2.0.8 /usr/include/python2.3 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -march=i686 -O2 -Wall -W -g -D_GNU_SOURCE -c proxy.c -fPIC -DPIC -o proxy.lo gcc: cannot specify -o with -c or -S and multiple compilations make[3]: *** [proxy.lo] Error 1 make[3]: Leaving directory `/home/reino/fedoraC2/BUILD/zorp-2.0.8/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/reino/fedoraC2/BUILD/zorp-2.0.8/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/reino/fedoraC2/BUILD/zorp-2.0.8' make: *** [all-recursive-am] Error 2
the problem seems to be that you have two filename arguments to the gcc command, the first is '/usr/include/python2.3' the other is 'proxy.c'. You probably need to add a -I in front of /usr/include/python2.3 -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1