Subject: -current compile fail
To: None <current-users@netbsd.org>
From: Nigel Reed <nigel@nelgin.nu>
List: current-users
Date: 06/20/2001 09:41:43
Before I send-pr this one...
I followed the instructions for compiling as per Xavier's webpage
http://www.xavhome.fr.eu.org/NetBSD/upgradepath-to-current.html
And everything seemed to be going fine until I hit the following
problem.
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -fpic -DELFSIZE=32 -DRTLD_RELOCATE_SELF -Wall -DLIBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/usr/libexec/ld.elf_so\" -I/usr/src/libexec/ld.elf_so -DDEBUG -DRTLD_LOADER -D_RTLD_SOURCE -c /usr/src/libexec/ld.elf_so/rtld.c
In file included from /usr/src/libexec/ld.elf_so/rtld.c:56:
/usr/src/libexec/ld.elf_so/rtld.h:163: syntax error before `*'
/usr/src/libexec/ld.elf_so/rtld.h:164: syntax error before `*'
/usr/src/libexec/ld.elf_so/rtld.h:167: syntax error before `*'
/usr/src/libexec/ld.elf_so/rtld.h:168: syntax error before `*'
/usr/src/libexec/ld.elf_so/rtld.h:273: syntax error before `*'
cc1: warnings being treated as errors
/usr/src/libexec/ld.elf_so/rtld.h:273: warning: type defaults to `int' in declaration of `_rtld_relocate_nonplt_object'
/usr/src/libexec/ld.elf_so/rtld.h:273: warning: function declaration isn't a prototype
/usr/src/libexec/ld.elf_so/rtld.h:274: syntax error before `*'
/usr/src/libexec/ld.elf_so/rtld.h:275: warning: type defaults to `int' in declaration of `_rtld_relocate_plt_object'
/usr/src/libexec/ld.elf_so/rtld.h:275: warning: function declaration isn't a prototype
*** Error code 1
The only thing I could find was in the following message
http://mail-index.netbsd.org/port-alpha/2001/06/13/0003.html
I checked the revision on sys/exec_elf.h and it is 1.46 so
that shouldn't be the issue.
I'm compiling on a 1.5V kernel with 1.5.1_BETA userland on i386.
Regards
Nigel
--