This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Fwd: conflicting type for syserr_list]




Jeffrey A Law wrote:

>   In message <35BC874C.59B548C5@kieray1.p.y.ki.era.ericsson.se>you write:
>   > I'm sorry to say I get the same errors. I have attached the output from my
>   > initial run and the one where I get stuck at vsprintf.
> I think you need to look at why autoconf didn't find sys_errlist:
>
>   > checking for sys_errlist... no
>   > checking for sys_nerr... no
>   > checking for sys_siglist... no
>
> Since obviously you have sys_errlist :-)
>
> jeff

 Thats why I included so much of the make output. I thought it looked funny. I
 dont know much about autoconf. As I dont know how a correct output look
like I really dont know whats wrong.

But this seams to indicate that what's wrong is not the include file but more a
problem with the linker.The linker complains on _start but configure takes it as a

error on sys_errlist ??

I can tar my header files so someone else can test. The same error should happen
on all system as this is target specific right ??




configure:2260: checking for sys_errlist
configure:2272: /home/erakeon/src/be/gcc/xgcc -B/home/erakeon/src/be/gcc/ -o conftest -g -O2   conftest.c  1>&5
/usr/local/ppc-linux-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 01800074
/tmp/cc52s2P4.o: In function `main':
/home/erakeon/src/be/ppc-linux-elf/libiberty/configure:2268: undefined reference to `sys_errlist'
/home/erakeon/src/be/ppc-linux-elf/libiberty/configure:2268: undefined reference to `sys_errlist'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2265 "configure"
#include "confdefs.h"
int *p;
int main() {
extern int sys_errlist; p = &sys_errlist;
; return 0; }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]