All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] lame linking issue
@ 2011-07-01 13:56 Yegor Yefremov
  2011-07-01 14:44 ` hariharan veerappan
  2011-07-05  8:39 ` Peter Korsgaard
  0 siblings, 2 replies; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-01 13:56 UTC (permalink / raw)
  To: buildroot

I'm using the latest git version of BR and wanted to build lame-3.98.4. During linking phase I got following errors:

parse.o: In function `local_strcasecmp':
parse.c:(.text+0x134): undefined reference to `__ctype_tolower_loc'
get_audio.o: In function `fskip.constprop.1':
get_audio.c:(.text+0x224): undefined reference to `__fxstat64'
lametime.o: In function `lame_get_file_size':
lametime.c:(.text+0x9c): undefined reference to `__xstat64'
portableio.o: In function `ReadByte':
portableio.c:(.text+0x4): undefined reference to `_IO_getc'
portableio.o: In function `Read16BitsLowHigh':
portableio.c:(.text+0x28): undefined reference to `_IO_getc'
portableio.c:(.text+0x34): undefined reference to `_IO_getc'
portableio.o: In function `Read16BitsHighLow':
portableio.c:(.text+0x60): undefined reference to `_IO_getc'
portableio.c:(.text+0x6c): undefined reference to `_IO_getc'
portableio.o: In function `Write8Bits':
portableio.c:(.text+0x9c): undefined reference to `_IO_putc'
portableio.o: In function `Write16BitsLowHigh':
portableio.c:(.text+0xbc): undefined reference to `_IO_putc'
portableio.c:(.text+0xcc): undefined reference to `_IO_putc'
portableio.o: In function `Write16BitsHighLow':
portableio.c:(.text+0xf0): undefined reference to `_IO_putc'
portableio.c:(.text+0xfc): undefined reference to `_IO_putc'
portableio.o: In function `Read24BitsHighLow':
portableio.c:(.text+0x110): undefined reference to `_IO_getc'
portableio.c:(.text+0x11c): undefined reference to `_IO_getc'
portableio.c:(.text+0x128): undefined reference to `_IO_getc'
portableio.o: In function `ReadBytes':
portableio.c:(.text+0x23c): undefined reference to `_IO_getc'
portableio.o: In function `ReadBytesSwapped':
portableio.c:(.text+0x290): undefined reference to `_IO_getc'
portableio.o: In function `WriteBytes':
portableio.c:(.text+0x30c): undefined reference to `_IO_putc'
portableio.o: In function `WriteBytesSwapped':
portableio.c:(.text+0x344): undefined reference to `_IO_putc'
collect2: ld returned 1 exit status

Any idea? 

Some toolchain details:

uClibc: 0.9.32
GCC: 4.6.1

I could also post the whole config file. 

Yegor

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  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
  1 sibling, 1 reply; 12+ messages in thread
From: hariharan veerappan @ 2011-07-01 14:44 UTC (permalink / raw)
  To: buildroot

Hi Yegor,

Whether you are using build root toolchain or external?
Provide your Host Platform ( compilation ) and target platform.

Hariharan.V.

On Fri, Jul 1, 2011 at 7:26 PM, Yegor Yefremov
<yegor_sub1@visionsystems.de>wrote:

> I'm using the latest git version of BR and wanted to build lame-3.98.4.
> During linking phase I got following errors:
>
> parse.o: In function `local_strcasecmp':
> parse.c:(.text+0x134): undefined reference to `__ctype_tolower_loc'
> get_audio.o: In function `fskip.constprop.1':
> get_audio.c:(.text+0x224): undefined reference to `__fxstat64'
> lametime.o: In function `lame_get_file_size':
> lametime.c:(.text+0x9c): undefined reference to `__xstat64'
> portableio.o: In function `ReadByte':
> portableio.c:(.text+0x4): undefined reference to `_IO_getc'
> portableio.o: In function `Read16BitsLowHigh':
> portableio.c:(.text+0x28): undefined reference to `_IO_getc'
> portableio.c:(.text+0x34): undefined reference to `_IO_getc'
> portableio.o: In function `Read16BitsHighLow':
> portableio.c:(.text+0x60): undefined reference to `_IO_getc'
> portableio.c:(.text+0x6c): undefined reference to `_IO_getc'
> portableio.o: In function `Write8Bits':
> portableio.c:(.text+0x9c): undefined reference to `_IO_putc'
> portableio.o: In function `Write16BitsLowHigh':
> portableio.c:(.text+0xbc): undefined reference to `_IO_putc'
> portableio.c:(.text+0xcc): undefined reference to `_IO_putc'
> portableio.o: In function `Write16BitsHighLow':
> portableio.c:(.text+0xf0): undefined reference to `_IO_putc'
> portableio.c:(.text+0xfc): undefined reference to `_IO_putc'
> portableio.o: In function `Read24BitsHighLow':
> portableio.c:(.text+0x110): undefined reference to `_IO_getc'
> portableio.c:(.text+0x11c): undefined reference to `_IO_getc'
> portableio.c:(.text+0x128): undefined reference to `_IO_getc'
> portableio.o: In function `ReadBytes':
> portableio.c:(.text+0x23c): undefined reference to `_IO_getc'
> portableio.o: In function `ReadBytesSwapped':
> portableio.c:(.text+0x290): undefined reference to `_IO_getc'
> portableio.o: In function `WriteBytes':
> portableio.c:(.text+0x30c): undefined reference to `_IO_putc'
> portableio.o: In function `WriteBytesSwapped':
> portableio.c:(.text+0x344): undefined reference to `_IO_putc'
> collect2: ld returned 1 exit status
>
> Any idea?
>
> Some toolchain details:
>
> uClibc: 0.9.32
> GCC: 4.6.1
>
> I could also post the whole config file.
>
> Yegor
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110701/7c69ab2f/attachment.html>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-01 14:44 ` hariharan veerappan
@ 2011-07-01 14:49   ` Yegor Yefremov
  0 siblings, 0 replies; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-01 14:49 UTC (permalink / raw)
  To: buildroot

Hi Hariharan,

see .config for details: http://pastebin.com/xtR3jnHm

Yegor

Am 01.07.2011 16:44, schrieb hariharan veerappan:
> Hi Yegor,
>
> Whether you are using build root toolchain or external?
> Provide your Host Platform ( compilation ) and target platform.
>
> Hariharan.V.
>
> On Fri, Jul 1, 2011 at 7:26 PM, Yegor Yefremov <yegor_sub1 at visionsystems.de <mailto:yegor_sub1@visionsystems.de>> wrote:
>
>     I'm using the latest git version of BR and wanted to build lame-3.98.4. During linking phase I got following errors:
>
>     parse.o: In function `local_strcasecmp':
>     parse.c:(.text+0x134): undefined reference to `__ctype_tolower_loc'
>     get_audio.o: In function `fskip.constprop.1':
>     get_audio.c:(.text+0x224): undefined reference to `__fxstat64'
>     lametime.o: In function `lame_get_file_size':
>     lametime.c:(.text+0x9c): undefined reference to `__xstat64'
>     portableio.o: In function `ReadByte':
>     portableio.c:(.text+0x4): undefined reference to `_IO_getc'
>     portableio.o: In function `Read16BitsLowHigh':
>     portableio.c:(.text+0x28): undefined reference to `_IO_getc'
>     portableio.c:(.text+0x34): undefined reference to `_IO_getc'
>     portableio.o: In function `Read16BitsHighLow':
>     portableio.c:(.text+0x60): undefined reference to `_IO_getc'
>     portableio.c:(.text+0x6c): undefined reference to `_IO_getc'
>     portableio.o: In function `Write8Bits':
>     portableio.c:(.text+0x9c): undefined reference to `_IO_putc'
>     portableio.o: In function `Write16BitsLowHigh':
>     portableio.c:(.text+0xbc): undefined reference to `_IO_putc'
>     portableio.c:(.text+0xcc): undefined reference to `_IO_putc'
>     portableio.o: In function `Write16BitsHighLow':
>     portableio.c:(.text+0xf0): undefined reference to `_IO_putc'
>     portableio.c:(.text+0xfc): undefined reference to `_IO_putc'
>     portableio.o: In function `Read24BitsHighLow':
>     portableio.c:(.text+0x110): undefined reference to `_IO_getc'
>     portableio.c:(.text+0x11c): undefined reference to `_IO_getc'
>     portableio.c:(.text+0x128): undefined reference to `_IO_getc'
>     portableio.o: In function `ReadBytes':
>     portableio.c:(.text+0x23c): undefined reference to `_IO_getc'
>     portableio.o: In function `ReadBytesSwapped':
>     portableio.c:(.text+0x290): undefined reference to `_IO_getc'
>     portableio.o: In function `WriteBytes':
>     portableio.c:(.text+0x30c): undefined reference to `_IO_putc'
>     portableio.o: In function `WriteBytesSwapped':
>     portableio.c:(.text+0x344): undefined reference to `_IO_putc'
>     collect2: ld returned 1 exit status
>
>     Any idea?
>
>     Some toolchain details:
>
>     uClibc: 0.9.32
>     GCC: 4.6.1
>
>     I could also post the whole config file.
>
>     Yegor
>     _______________________________________________
>     buildroot mailing list
>     buildroot at busybox.net <mailto:buildroot@busybox.net>
>     http://lists.busybox.net/mailman/listinfo/buildroot
>
>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-01 13:56 [Buildroot] lame linking issue Yegor Yefremov
  2011-07-01 14:44 ` hariharan veerappan
@ 2011-07-05  8:39 ` Peter Korsgaard
  2011-07-05  9:06   ` Yegor Yefremov
  1 sibling, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-07-05  8:39 UTC (permalink / raw)
  To: buildroot

>>>>> "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.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05  8:39 ` Peter Korsgaard
@ 2011-07-05  9:06   ` Yegor Yefremov
  2011-07-05  9:24     ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-05  9:06 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05  9:06   ` Yegor Yefremov
@ 2011-07-05  9:24     ` Peter Korsgaard
  2011-07-05 10:01       ` Yegor Yefremov
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-07-05  9:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 Yegor> Could it be due to 64-bit build system?

No - I build on 64bit (Debian) as well.

 Yegor> /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

It's probably the /usr/include  and /usr/lib64 references here that's
causing problems. I wonder where they are coming from though, as I don't
see any glib/gtk references in lame's configure script.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05  9:24     ` Peter Korsgaard
@ 2011-07-05 10:01       ` Yegor Yefremov
  2011-07-05 10:09         ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-05 10:01 UTC (permalink / raw)
  To: buildroot

Am 05.07.2011 11:24, schrieb Peter Korsgaard:
>>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:
> Hi,
>
>  Yegor> Could it be due to 64-bit build system?
>
> No - I build on 64bit (Debian) as well.
>
>  Yegor> /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
>
> It's probably the /usr/include  and /usr/lib64 references here that's
> causing problems. I wonder where they are coming from though, as I don't
> see any glib/gtk references in lame's configure script

The references are there in output/build/lame-3.98.4/configure

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05 10:01       ` Yegor Yefremov
@ 2011-07-05 10:09         ` Peter Korsgaard
  2011-07-05 10:12           ` Yegor Yefremov
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-07-05 10:09 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 Yegor> /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
 >> 
 >> It's probably the /usr/include  and /usr/lib64 references here that's
 >> causing problems. I wonder where they are coming from though, as I don't
 >> see any glib/gtk references in lame's configure script

 Yegor> The references are there in output/build/lame-3.98.4/configure

There's indeed a gtk-1.2 reference. Do you have gtk-config on your host?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05 10:09         ` Peter Korsgaard
@ 2011-07-05 10:12           ` Yegor Yefremov
  2011-07-05 11:28             ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-05 10:12 UTC (permalink / raw)
  To: buildroot


>  Yegor> /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
>  >> 
>  >> It's probably the /usr/include  and /usr/lib64 references here that's
>  >> causing problems. I wonder where they are coming from though, as I don't
>  >> see any glib/gtk references in lame's configure script
>
>  Yegor> The references are there in output/build/lame-3.98.4/configure
>
> There's indeed a gtk-1.2 reference. Do you have gtk-config on your host?

Yes, I have.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05 10:12           ` Yegor Yefremov
@ 2011-07-05 11:28             ` Peter Korsgaard
  2011-07-05 12:06               ` Yegor Yefremov
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Korsgaard @ 2011-07-05 11:28 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 >> There's indeed a gtk-1.2 reference. Do you have gtk-config on your host?

 Yegor> Yes, I have.

Ok, try adding LAME_CONF_ENV = GTK_CONFIG=/bin/false and see if that
helps.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05 11:28             ` Peter Korsgaard
@ 2011-07-05 12:06               ` Yegor Yefremov
  2011-07-05 13:01                 ` Peter Korsgaard
  0 siblings, 1 reply; 12+ messages in thread
From: Yegor Yefremov @ 2011-07-05 12:06 UTC (permalink / raw)
  To: buildroot


>  >> There's indeed a gtk-1.2 reference. Do you have gtk-config on your host?
>
>  Yegor> Yes, I have.
>
> Ok, try adding LAME_CONF_ENV = GTK_CONFIG=/bin/false and see if that
> helps.

Yes, it helped. Thanks!

Yegor

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] lame linking issue
  2011-07-05 12:06               ` Yegor Yefremov
@ 2011-07-05 13:01                 ` Peter Korsgaard
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Korsgaard @ 2011-07-05 13:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Yegor" == Yegor Yefremov <yegor_sub1@visionsystems.de> writes:

Hi,

 >> Ok, try adding LAME_CONF_ENV = GTK_CONFIG=/bin/false and see if that
 >> helps.

 Yegor> Yes, it helped. Thanks!

Ok, great - I've committed a fix.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-07-05 13:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.