compiling pure lfs on sparc

Juan York juan at digitalkindred.org
Wed Apr 23 16:16:33 PDT 2003


Hey guys i'm attempting to compile pure lfs on sparc platform without any
luck at all.

The box is a sun netra x1 with sparc woody debian installed on it.

chapter5 binutils installs fine
chapter5 gcc fails with this error

../../gcc-3.2.2/libiberty/strerror.c:466: conflicting types for
`sys_errlist'
/usr/include/stdio.h:552: previous declaration of `sys_errlist'
make[1]: *** [strerror.o] Error 1
make: *** [all-libiberty] Error 2

in gcc-3.2.2/libiberty/strerror.c

static int sys_nerr
static const char **sys_errlist;

in /usr/include/stdio.h

#ifdef __USE_BSD
extern int sys_nerr;
extern __const char *__const _sys_errlist[];
#endif


Any help would be appreciated

I used the configure and make strings from the pure lfs hint.

-Juan

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list