Hello Steve,
> I have added the link in the TARGET_LDFLAGS and the linkage fails with
...
> /usr/bin/ld: warning: libm.so.0, needed by
> /home/countcobolt/8.09.2/staging_dir/i386/usr/lib/libsvn_subr-1.so, not
> found (try using -rpath or -rpath-link)
...
> When I add
> TARGET_LDFLAGS+=-Wl,-rpath-link="/home/countcobolt/8.09.2/staging_dir/toolchain-i386_gcc4.1.2/lib/"
>
> To the make file the output becomes:
> Link fsvs
> /usr/lib/gcc/i686-redhat-linux/4.4.3/../../../crt1.o: In function `_start':
> (.text+0xc): undefined reference to `__libc_csu_fini'
> /usr/lib/gcc/i686-redhat-linux/4.4.3/../../../crt1.o: In function `_start':
> (.text+0x11): undefined reference to `__libc_csu_init'
> /usr/lib/gcc/i686-redhat-linux/4.4.3/../../../crt1.o: In function `_start':
> (.text+0x1d): undefined reference to `__libc_start_main'
> build.o: In function `delay__work':
> build.c:(.text+0x70): undefined reference to `__ctype_b_loc'
> cp_mv.o: In function `cm___string_to_rev_path':
> cp_mv.c:(.text+0x799): undefined reference to `__ctype_b_loc'
> hash_ops.o: In function `hsh___new_bare':
> hash_ops.c:(.text+0x689): undefined reference to `__ctype_b_loc'
> helper.o: In function `hlp___get_conv_handle':
> helper.c:(.text+0x712): undefined reference to `iconv_open'
> helper.o: In function `hlp__chrooter':
...
> The strange thing is that it is linking towards the regular
> /usr/lib/gcc/i686-redhat-linux/4.4.3/ and not the i486 one
>
> Any help appreciated
Please edit the Makefile, and make sure that -liconv is given
somewhere - that wouldn't help for the __ctype_ functions, but
is a first step.
Please try to fix the various -I and -L paths that are set in the
first few lines, too - maybe that helps a bit.
But why it tries to use 686 and not the 486 paths, and doesn't
find the symbols I'm a bit lost ...
Regards,
Phil
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3923&dsMessageId=2615843
To unsubscribe from this discussion, e-mail: [[email protected]].