Subject: Compilation problem on yesterday's -current -- ld.elf_so
To: None <>
From: Erik Bertelsen <>
List: current-users
Date: 02/24/1999 12:07:24
While compiling ld.elf_so on my NetBSD/macppc machine with yesterday's -current,
I get the following compilation error:

g3 make
cc -O  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -fpic -msoft-float -DELFSIZE=32 -I/home/src/libexec/ld.elf_so -Wall -DLIBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/usr/libexec/ld.elf_so\" -DDEBUG -DRTLD_LOADER -c /home/src/libexec/ld.elf_so/reloc.c
cc1: warnings being treated as errors
/home/src/libexec/ld.elf_so/reloc.c: In function `_rtld_bind':
/home/src/libexec/ld.elf_so/reloc.c:700: warning: implicit declaration of function `__rtld_relocate_plt_object'
*** Error code 1


I have no immediate solution, but it seems that the static function
__rtld_relocate_plt_object is defined within an #ifdef __sparc__.

- Erik