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

Re: glibc error during build



"Wichmann, Mats D" <mats.d.wichmann@intel.com> writes:

>> > ../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration 
>> of '_old_sys_nerr'
>> > must precede definition
>
> Weird.  The patch worked fine for me, and for Marvin, I guess,
> but here's a snip from the ChangeLog - looks like a bunch of
> stuff JUST happened here:

No need to worry.  This is glibc 2.3 but you're working on glibc
2.2.5+.

The patch you send is correct - but for glibc 2.3 the whole sys_err
implemntation has been changed.

> 2002-08-26  Roland McGrath  <roland@redhat.com>
>
> ...
> 	* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
> 	_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
> 	* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New
> target.
> 	($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
> 	* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
> 	and _sys_nerr_internal instead of anything else.  Make it include
> 	"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
> 	Make it emit some asm magic if [EMIT_ERR_MAX].
> 	* sysdeps/gnu/errlist.c: Regenerated.
> 	* sysdeps/gnu/errlist-compat.awk: New file.
> 	* sysdeps/gnu/errlist-compat.c: New file (generated).
> 	* sysdeps/unix/sysv/linux/errlist.c: File removed.
> 	* sysdeps/unix/sysv/linux/errlist.h: File removed. 

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



Reply to: