-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Chris,
Okay, that line has %include <xxx.h>// comment I removed the // comment from it (it was in polish), and I hope the removal of this comment syntax makes it compile on 2.0.2 Could you see if it is fixed with swig 2.0.2? The file it at http://www.nlnetlabs.nl/svn/ldns/trunk/contrib/python/ldns.i Best regards, Wouter On 02/28/2011 01:48 AM, Chris Smith wrote: > Hello, > > Getting this problem compiling ldns-trunk with swig-2.0.2: > ======================================================================== > ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. > -DHAVE_CONFIG_H -Wwrite-strings -W -Wall -O2 -g -march=native -O2 > -fomit-frame-pointer -pipe -D_GNU_SOURCE -c ./compat/strlcpy.c -o > strlcpy.o > ./libtool --tag=CC --quiet --mode=link x86_64-pc-linux-gnu-gcc > -Wwrite-strings -W -Wall -O2 -g -march=native -O2 -fomit-frame-pointer > -pipe -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -version-number 1:6:8 > -no-undefined -lcrypto -ldl --export-symbols ./ldns_symbols.def -o > libldns.la rdata.lo util.lo rr.lo packet.lo wire2host.lo host2str.lo > buffer.lo str2host.lo tsig.lo resolver.lo net.lo host2wire.lo dname.lo > dnssec.lo dnssec_verify.lo keys.lo higher.lo rr_functions.lo parse.lo > update.lo error.lo zone.lo dnssec_zone.lo dnssec_sign.lo rbtree.lo > sha1.lo sha2.lo b64_pton.lo b64_ntop.lo b32_pton.lo b32_ntop.lo > strlcpy.lo -rpath /usr/lib64 > if [ ! -d lib ] ; then ln -s .libs lib ; fi ; > ./libtool --tag=CC --quiet --mode=link x86_64-pc-linux-gnu-gcc > ./linktest.c -I. -DHAVE_CONFIG_H -Wwrite-strings -W -Wall -O2 -g > -march=native -O2 -fomit-frame-pointer -pipe -D_GNU_SOURCE -lldns -o > linktest > ./install-sh -d doc > cat ./ldns/*.h | ./doc/doxyparse.pl -m ./doc/function_manpages 2>&1 | \ > grep -v ^doxygen | grep -v ^cat > doc/ldns_manpages > /usr/bin/swig -python -o contrib/python/ldns_wrapper.c -I. > -DHAVE_CONFIG_H -I/usr/include/python2.7 contrib/python/ldns.i > contrib/python/ldns.i:117: Error: Syntax error in input(1). > ======================================================================== > > If I downgrade to swig-2.0.1 it compiles fine. > > Thank you, > > Chris > _______________________________________________ > Unbound-users mailing list > [email protected] > http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk1rWPQACgkQkDLqNwOhpPh5ygCfVxqWLdsIy/PzMzE18j4KZYmM 3WIAnRiiMiiMCjeXtnqkQd9pY79PGn5D =qoUO -----END PGP SIGNATURE----- _______________________________________________ Unbound-users mailing list [email protected] http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
