Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sun_map_tok.c:1232: warning: function declaration isn't a prototype



===> build.sh command: ./build.sh -O /backup/obj/ -u -U distribution
===> build.sh started: Thu Apr 23 13:48:04 CDT 2009
===> NetBSD version:   5.99.11
===> MACHINE:          amd64
===> MACHINE_ARCH:     x86_64
===> Build platform:   NetBSD 4.99.62 amd64
===> HOST_SH:          /bin/sh
===> TOOLDIR path:     /backup/obj/tooldir.NetBSD-4.99.62-amd64
===> DESTDIR path:     /backup/obj/destdir.amd64
===> RELEASEDIR path:  /backup/obj/releasedir
===> makewrapper:      /backup/obj/tooldir.NetBSD-4.99.62-amd64/bin/nbmake-amd64
===> Updated /backup/obj/tooldir.NetBSD-4.99.62-amd64/bin/nbmake-amd64
build ===> .    (with: NOPOSTINSTALL=1)

....

dependall ===> external/bsd/am-utils/bin/amd
#   compile  amd/sun_map_tok.o
/backup/obj/tooldir.NetBSD-4.99.62-amd64/bin/x86_64--netbsd-gcc -O2  
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings  -Werror   -DHAVE_CONFIG_H 
-I/usr/src/external/bsd/am-utils/bin/amd/../../include 
-I/usr/src/external/bsd/am-utils/dist/libamu  
-I/usr/src/external/bsd/am-utils/dist/include 
-I/backup/obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1 
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1 
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -I/usr/src/external/bsd/am-utils/dist/amd 
-I/backup/obj/external/bsd/am-utils/bin/amd -DYY_NO_INPUT -DHAVE_CONFIG_H 
-I/usr/src/external/bsd/am-utils/bin/amd/../../include 
-I/usr/src/external/bsd/am-utils/dist/libamu  
-I/usr/src/external/bsd/am-utils/dist/include 
-I/backup/obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1 
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1 
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -nostdinc -isystem 
/backup/obj/destdir.amd64/usr/include   -D_FORTIFY_SOURCE=2 -c   
-Dyylval=sun_map_lval -Dyyerror=sun_map_error sun_map_tok.c
cc1: warnings being treated as errors
sun_map_tok.c:1232: warning: function declaration isn't a prototype

*** Failed target:  sun_map_tok.o
*** Failed command: 
/backup/obj/tooldir.NetBSD-4.99.62-amd64/bin/x86_64--netbsd-gcc -O2 
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings -Werror -DHAVE_CONFIG_H 
-I/usr/src/external/bsd/am-utils/bin/amd/../../include 
-I/usr/src/external/bsd/am-utils/dist/libamu 
-I/usr/src/external/bsd/am-utils/dist/include 
-I/backup/obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1 
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1 
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -I/usr/src/external/bsd/am-utils/dist/amd 
-I/backup/obj/external/bsd/am-utils/bin/amd -DYY_NO_INPUT -DHAVE_CONFIG_H 
-I/usr/src/external/bsd/am-utils/bin/amd/../../include 
-I/usr/src/external/bsd/am-utils/dist/libamu 
-I/usr/src/external/bsd/am-utils/dist/include 
-I/backup/obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1 
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1 
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -nostdinc -isystem 
/backup/obj/destdir.amd64/usr/include -D_FORTIFY_SOURCE=2 -c 
-Dyylval=sun_map_lval -Dyyerror=sun_map_error sun_map_tok.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/external/bsd/am-utils/bin/amd


I don't see problem in the file at that line number and that file is 
generated from external/bsd/am-utils/dist/amd/sun_map_tok.l


Home | Main Index | Thread Index | Old Index