Actually, the real answer is:

"On RHL9 this is not a bug. There is no binary compatibility for .a
libraries or .o files between distribution major releases (glibc only
ensures binary compatibility for programs and shared libraries using
symbol versioning, for static libraries this cannot work)."

>From http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=86465

Jon

>
> Hi,
>
> I'm having problems building an executable file on RedHat 9 that builds fine on
> earlier versions of RedHat. The error I get is as follows:
>
> [EMAIL PROTECTED] engine]$ make eng2d
> rm -f eng2d
> gcc -o eng2d eng2d.o -g    -L. -lmteng  -rdynamic -ldl -lpthread -lm
> ./libmteng.so: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
> instead
> ./libmteng.so: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead
> ./libmteng.so: undefined reference to `__ctype_b'
> ./libmteng.so: undefined reference to `__ctype_toupper'
> ./libmteng.so: undefined reference to `__ctype_tolower'
> collect2: ld returned 1 exit status
> make: *** [eng2d] Error 1
>
> I know that sys_errlist and sys_nerr are defined
> in /usr/include/bin/sys_errlist.h if either __USE_BSD or __USE_GNU is defined.
> But I'm not sure who's calling sys_errlist.h or who's defining one of those
> globals. Does anyone have any idea what may have changed between RedHat 7 and
> RedHat 9 to cause this problem?
>
> -Brittany
>
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to