Try disabling diet libc in the Makefile.inc.
Shawn.
-----Original Message-----
From:
anaconda-devel-list-bounces@xxxxxxxxxx on behalf of James Olin Oden
Sent: Fri 4/14/2006 3:55 PM
To:
anaconda-devel-list@xxxxxxxxxx
Cc:
Subject: Problem
building anaconda on RHEL 4
Hi All,
I'm trying to build anaconda (the SRPM, and its
binary RPMS) on RHEL 4
and I'm gettting a peculiar error, when it tries to
link loader:
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x2b9):
In
function `entryDraw':
anaconda: : undefined reference to
`__ctype_get_mb_cur_max'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x2cc):
In
function `entryDraw':
anaconda: : undefined reference to
`mbtowc'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x329):
In
function `entryDraw':
anaconda: : undefined reference to
`__ctype_get_mb_cur_max'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x342):
In
function `entryDraw':
anaconda: : undefined reference to
`mbtowc'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x559):
In
function `previous_char':
anaconda: : undefined reference to
`__ctype_get_mb_cur_max'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x568):
In
function `previous_char':
anaconda: : undefined reference to
`mblen'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x599):
In
function `next_char':
anaconda: : undefined reference to
`__ctype_get_mb_cur_max'
anaconda:
/usr/lib/gcc/i386-redhat-linux/3.4.5/../../../libnewt.a(entry.o)(.text+0x5a8):
In
function `next_char':
anaconda: : undefined reference to
`mblen'
anaconda: collect2: ld returned 1 exit status
It looks
like the libnewt.a that came with RHEL 4 is using some
symbols (locale
related I think) that are not part of dietlibc. How
do I fix
this? Don't mind rebuilding other packages, but I don't
really know
how to start.
Thanks...james
P.S. The reason I rebuild
anaconda is because the pkgorder script has
to be patched to work with the
latest rpm (4.4.6), also, RHEL4 does
not have the fix for fairly long
filenames on packages applied to
hdlist. Anyway thanks for any
help.
_______________________________________________
Anaconda-devel-list
mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list