Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: FSVS configure having hard coded paths

fsvs
Discussion topic

Back to topic list

Re: FSVS configure having hard coded paths

Author pmarek
Full name P.Marek
Date 2010-06-02 00:21:13 PDT
Message 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/i38​6/usr/lib/libsvn_sub​r-1.so, not
> found (try using -rpath or -rpath-link)
...
> When I add
> TARGET_LDFLAGS+=-Wl,​-rpath-link="/home/c​ountcobolt/8.09.2/st​aging_dir/toolchain-​i386_gcc4.1.2/lib/"
>
> To the make file the output becomes:
> Link fsvs
> /usr/lib/gcc/i686-re​dhat-linux/4.4.3/../​../../crt1.o: In function `_start':
> (.text+0xc): undefined reference to `__libc_csu_fini'
> /usr/lib/gcc/i686-re​dhat-linux/4.4.3/../​../../crt1.o: In function `_start':
> (.text+0x11): undefined reference to `__libc_csu_init'
> /usr/lib/gcc/i686-re​dhat-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-re​dhat-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)!

« Previous message in topic | 4 of 4 | Next message in topic »

Messages

Show all messages in topic

FSVS configure having hard coded paths cobolt steve caster 2010-05-26 01:23:05 PDT
     Re: FSVS configure having hard coded paths pmarek P.Marek 2010-05-26 02:22:32 PDT
         Re: FSVS configure having hard coded paths cobolt steve caster 2010-06-01 11:46:10 PDT
             Re: FSVS configure having hard coded paths pmarek P.Marek 2010-06-02 00:21:13 PDT
Messages per page: