1 Dec 2009 01:08
patch for opkg_download.c compile abort
If configure is run without options, the compile dies because of FALSE
and TRUE being redefined. This
is true up to R412.
Here is the compiler output followed by the patch:
In file included from opkg_download.c:50:
../libbb/libbb.h:32:1: error: "FALSE" redefined
In file included from /usr/include/krb5.h:7,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:192,
from opkg_download.c:29:
/usr/include/krb5/krb5.h:187:1: error: this is the location of the
previous definition
In file included from opkg_download.c:50:
../libbb/libbb.h:33:1: error: "TRUE" redefined
In file included from /usr/include/krb5.h:7,
from /usr/include/openssl/kssl.h:72,
from /usr/include/openssl/ssl.h:192,
from opkg_download.c:29:
/usr/include/krb5/krb5.h:190:1: error: this is the location of the
previous definition
make[2]: *** [opkg_download.lo] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
The patch just moves the fixed includes ahead of the conditional
includes:
libopkg/opkg_download.c
(Continue reading)
RSS Feed