On Sun, Aug 9, 2009 at 6:56 PM, Joe Ciccone<[email protected]> wrote:
> Roy Bekken wrote:
>> On Sun, Aug 9, 2009 at 6:34 PM, Joe Ciccone<[email protected]> wrote:
>>
>>> Could you please run this test and send the results?
>>>
>>> echo "int main() {}" | gcc -ldl -x c - -v -Wl,-verbose
>>> _______________________________________________
>>> Clfs-support mailing list
>>> [email protected]
>>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>>
>>>
>>
>> I tried the command in both the clfs build environment as as my normal
>> user, output was identical.
>>
> The output you provided looks good, it compiled successfully.
>
> Lets try this,
>
> cd /mnt/clfs/tools/build/ncurses-5.7/ncurses
> gcc ../objects/tic.o ../objects/dump_entry.o -s -I../progs -I.
> -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG
> -I/cross-tools/include/ncurses -O2 --param max-inline-insns-single=1200
> -static -L../lib -lncurses -L../lib -lncurses -dynamic -ldl -o tic -v
> -Wl,--verbose
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>
OK, the command revealed that libdl.a was missing. Turns out that
fedora have a package glibc-static that I didn't know about, I have
now installed that and now its builds fine.

Thanks for your help.
        Roy
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to