[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] NSSWITCH build failure.
- To: patches@xxxxxxxxxx
- Subject: [patches] NSSWITCH build failure.
- From: Steve Papacharalambous <stevep@xxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 08:32:05 +0100
Hi,
When the NSSWITCH option group is disabled eglibc fails to build. I am
using eglibc svn version r3767, and the contents of the
option-groups.config file is:
[snip]
OPTION_EGLIBC_NSSWITCH = n
OPTION_EGLIBC_NSSWITCH_FIXED_CONFIG =
${RPM_BUILD_DIR}/csl-tc-%{csl_version}/eglibc-%{eglibc_ver}/libc/nss/fixed-nsswitch.conf OPTION_EGLIBC_NSSWITCH_FIXED_FUNCTIONS = ${RPM_BUILD_DIR}/csl-tc-%{csl_version}/eglibc-%{eglibc_ver}/libc/nss/fixed-nsswitch.functions
[/snip]
I've attached the build log showing the errors,
Best regards,
Steve
--
Steve Papacharalambous
Developer Technology.
Registered address:
Freescale Semiconductor UK Ltd
Colvilles Road
East Kilbride
Glasgow
Scotland
G75 OTG
Registration number: SC262720
VAT number: GB831329053
(X) Public
( ) Freescale Internal Use Only
( ) Freescale Confidential Proprietary
make subdir=nss -C nss ..=../ subdir_lib
make[2]: Entering directory `/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss'
.././scripts/mkinstalldirs /usr/src/redhat/BUILD/csl-tc-78/build-eglibc/nss
mkdir /usr/src/redhat/BUILD/csl-tc-78/build-eglibc/nss
cd /usr/src/redhat/BUILD/csl-tc-78/build-eglibc/nss && gcc -g3 -O -Wall -I /usr/src/redhat/BUILD/csl-tc-78/build-eglibc/nss/ -DFIXED_FUNCTIONS='"/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/fixed-nsswitch.functions"' -include ../config.h /usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c -o gen-fixed-nsswitch
In file included from /usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:32:
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:153: error: parse error before "internal_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:153: warning: type defaults to `int' in declaration of `internal_function'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:153: warning: data definition has no type or storage class
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:162: error: parse error before "db_lookup_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:167: error: parse error before "db_lookup_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/nsswitch.h:172: error: parse error before "db_lookup_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:152: error: parse error before "internal_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:152: warning: type defaults to `int' in declaration of `internal_function'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:152: warning: data definition has no type or storage class
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:153: error: parse error before "internal_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:153: warning: type defaults to `int' in declaration of `internal_function'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:153: warning: data definition has no type or storage class
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:155: error: parse error before "internal_function"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:155: warning: type defaults to `int' in declaration of `internal_function'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:155: warning: data definition has no type or storage class
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:159: error: parse error before "nss_parse_file"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:160: warning: return type defaults to `int'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: In function `nss_parse_file':
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:170: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:203: warning: implicit declaration of function `nss_getline'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:203: warning: assignment makes pointer from integer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:221: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: At top level:
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:230: error: parse error before "nss_parse_service_list"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:231: warning: return type defaults to `int'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: In function `nss_parse_service_list':
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:243: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:250: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:304: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:313: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:316: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:321: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:337: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: At top level:
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:370: error: parse error before "nss_getline"
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:371: warning: return type defaults to `int'
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: In function `nss_getline':
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:389: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:401: warning: assignment makes pointer from integer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:404: warning: return makes integer from pointer without a cast
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c: In function `main':
/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss/gen-fixed-nsswitch.c:682: warning: initialization makes pointer from integer without a cast
make[2]: *** [/usr/src/redhat/BUILD/csl-tc-78/build-eglibc/nss/gen-fixed-nsswitch] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc/nss'
make[1]: *** [nss/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/csl-tc-78/eglibc-r3767/libc'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.88214 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.88214 (%build)