From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] lame linking issue
Date: Tue, 05 Jul 2011 11:06:45 +0200 [thread overview]
Message-ID: <4E12D425.1010201@visionsystems.de> (raw)
In-Reply-To: <87hb71xgt5.fsf@macbook.be.48ers.dk>
Am 05.07.2011 10:39, schrieb Peter Korsgaard:
>>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:
> Yegor> I'm using the latest git version of BR and wanted to build lame-3.98.4. During linking phase I got following errors:
>
> Yegor> Any idea?
>
> Yegor> Some toolchain details:
>
> Yegor> uClibc: 0.9.32
> Yegor> GCC: 4.6.1
>
> gcc 4.6.x support is experimental. Lame builds here with the default
> (4.3.x) compiler.
That didn't help.
Could it be due to 64-bit build system?
> It was created by lame configure 3.98.4, which was
> generated by GNU Autoconf 2.61. Invocation command line was
>
> $ ./configure --target=arm-linux --host=arm-linux --build=x86_64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --disable-gtk-doc --disable-nls --enable-static --enable-shared
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = development1
> uname -m = x86_64
> uname -r = 2.6.22.5-31-default
> uname -s = Linux
> uname -v = #1 SMP 2007/09/21 22:29:00 UTC
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch = x86_64
> /usr/bin/arch -k = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo = unknown
> /bin/machine = unknown
> /usr/bin/oslevel = unknown
> /bin/universe = unknown
lame seems to look in 64-bit include folder:
make[3]: Entering directory `/home/YegorYefremov/projects/versioned/buildroot/output/build/lame-3.98.4/frontend'
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT console.o -MD -MP -MF .deps/console.Tpo -c -o console.o console.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT get_audio.o -MD -MP -MF .deps/get_audio.Tpo -c -o get_audio.o get_audio.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT lametime.o -MD -MP -MF .deps/lametime.Tpo -c -o lametime.o lametime.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT parse.o -MD -MP -MF .deps/parse.Tpo -c -o parse.o parse.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT portableio.o -MD -MP -MF .deps/portableio.Tpo -c -o portableio.o portableio.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT timestatus.o -MD -MP -MF .deps/timestatus.Tpo -c -o timestatus.o timestatus.c
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I../libmp3lame -I../include -I.. -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -MT brhist.o -MD -MP -MF .deps/brhist.Tpo -c -o brhist.o brhist.c
mv -f .deps/console.Tpo .deps/console.Po
mv -f .deps/lametime.Tpo .deps/lametime.Po
mv -f .deps/portableio.Tpo .deps/portableio.Po
mv -f .deps/timestatus.Tpo .deps/timestatus.Po
mv -f .deps/brhist.Tpo .deps/brhist.Po
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/get_audio.Tpo .deps/get_audio.Po
mv -f .deps/parse.Tpo .deps/parse.Po
/bin/sh ../libtool --tag=CC --mode=link /home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -o lame main.o console.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o ../libmp3lame/libmp3lame.la -lm
mkdir .libs
/home/YegorYefremov/projects/versioned/buildroot/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -Wall -pipe -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -o lame main.o console.o get_audio.o lametime.o parse.o portableio.o timestatus.o brhist.o ../libmp3lame/.libs/libmp3lame.so -lm -Wl,--rpath -Wl,/home/YegorYefremov/projects/versioned/buildroot/output/build/lame-3.98.4/libmp3lame/.libs
get_audio.o: In function `fskip':
get_audio.c:(.text+0x410): undefined reference to `__fxstat64'
lametime.o: In function `lame_get_file_size':
lametime.c:(.text+0x1c): undefined reference to `__xstat64'
parse.o: In function `local_strcasecmp':
parse.c:(.text+0x6f0): undefined reference to `__ctype_tolower_loc'
portableio.o: In function `WriteBytesSwapped':
portableio.c:(.text+0x20): undefined reference to `_IO_putc'
portableio.o: In function `WriteBytes':
portableio.c:(.text+0x5c): undefined reference to `_IO_putc'
portableio.o: In function `Write16BitsHighLow':
portableio.c:(.text+0xa0): undefined reference to `_IO_putc'
portableio.c:(.text+0xac): undefined reference to `_IO_putc'
portableio.o: In function `Write16BitsLowHigh':
portableio.c:(.text+0x108): undefined reference to `_IO_putc'
portableio.o:portableio.c:(.text+0x114): more undefined references to `_IO_putc' follow
portableio.o: In function `Read24BitsHighLow':
portableio.c:(.text+0x1b4): undefined reference to `_IO_getc'
portableio.c:(.text+0x1c0): undefined reference to `_IO_getc'
portableio.c:(.text+0x1cc): undefined reference to `_IO_getc'
portableio.o: In function `Read16BitsHighLow':
portableio.c:(.text+0x204): undefined reference to `_IO_getc'
portableio.c:(.text+0x210): undefined reference to `_IO_getc'
portableio.o:portableio.c:(.text+0x274): more undefined references to `_IO_getc' follow
collect2: ld returned 1 exit status
Yegor
next prev parent reply other threads:[~2011-07-05 9:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 13:56 [Buildroot] lame linking issue Yegor Yefremov
2011-07-01 14:44 ` hariharan veerappan
2011-07-01 14:49 ` Yegor Yefremov
2011-07-05 8:39 ` Peter Korsgaard
2011-07-05 9:06 ` Yegor Yefremov [this message]
2011-07-05 9:24 ` Peter Korsgaard
2011-07-05 10:01 ` Yegor Yefremov
2011-07-05 10:09 ` Peter Korsgaard
2011-07-05 10:12 ` Yegor Yefremov
2011-07-05 11:28 ` Peter Korsgaard
2011-07-05 12:06 ` Yegor Yefremov
2011-07-05 13:01 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E12D425.1010201@visionsystems.de \
--to=yegor_sub1@visionsystems.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox