klibc: type of symbol changed warning

From: Martin Hicks <mort_at_wildopensource.com>
Date: 2003-11-26 03:23:40

I've been trying to get klibc working on ia64.  I'm running into a
problem while compiling it.  I get a warning during the final link:

gcc --static --nostdlib -nostartfiles -o udev klibc/klibc/crt0.o udev.o
udev-add.o udev-remove.o udevdb.o logging.o namedev.o
libsysfs/sysfs_bus.o libsysfs/sysfs_class.o libsysfs/sysfs_device.o
libsysfs/sysfs_dir.o libsysfs/sysfs_driver.o libsysfs/sysfs_utils.o
libsysfs/dlist.o tdb/tdb.o tdb/spinlock.o  klibc/klibc/libc.a

/usr/bin/ld: Warning: type of symbol `errno' changed from 1 to 6 in

Whatever causing this is also messing up other stuff.  The __ctypes
array, which is used by many of the ctype.h functions is not in the
right place in the final udev executable.

The fix that I've found is to do the final link with ld instead of gcc.

Anyone know what's causing this problem?

Martin Hicks                Wild Open Source Inc.
mort@wildopensource.com     613-266-2296

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 25 11:29:09 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:20 EST