Hello, I'm trying to build aircrack-ng (current trunk) with gcc 2.95. It works fine on recent versions of gcc but fails on gcc 2.95. I googled for that error but I couldn't find any solution. I also tried to disable inclusion of bio.h with the NO_BIO define but it doesn't solve the problem.
Here is the error: (...) gcc -g -W -Wall -Werror -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=974 -Iinclude -c -o wesside-ng.o wesside-ng.c In file included from /usr/include/openssl/bio.h:69, from /usr/include/openssl/evp.h:75, from /usr/include/openssl/hmac.h:67, from crypto.h:12, from wesside-ng.c:66: /usr/include/openssl/crypto.h:443: parse error before `free_func' /usr/include/openssl/crypto.h:443: parse error before `)' /usr/include/openssl/crypto.h:448: parse error before `free_func' /usr/include/openssl/crypto.h:448: parse error before `)' In file included from /usr/include/openssl/objects.h:960, from /usr/include/openssl/evp.h:94, from /usr/include/openssl/hmac.h:67, from crypto.h:12, from wesside-ng.c:66: /usr/include/openssl/asn1.h:849: parse error before `free_func' /usr/include/openssl/asn1.h:849: `d2i_ASN1_SET' declared as function returning a function /usr/include/openssl/asn1.h:850: parse error before `int' /usr/include/openssl/asn1.h:973: parse error before `free_func' /usr/include/openssl/asn1.h:973: parse error before `)' In file included from /usr/include/openssl/evp.h:94, from /usr/include/openssl/hmac.h:67, from crypto.h:12, from wesside-ng.c:66: /usr/include/openssl/objects.h:993: parse error before `free_func' /usr/include/openssl/objects.h:993: parse error before `)' make[1]: *** [wesside-ng.o] Error 1 make[1]: Leaving directory `/home/aircrack-ng/buildbot/slave/debian-sarge-i386-gcc2.95/build/src' make: *** [all] Error 2 Anyone knows how to fix it? Thomas ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]