Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] x11r7 build error
@ 2007-10-01 18:37 rafael2k
  2007-10-01 21:15 ` Ivan Kuten
  0 siblings, 1 reply; 5+ messages in thread
From: rafael2k @ 2007-10-01 18:37 UTC (permalink / raw)
  To: buildroot

I'm triyng to compile x11r7 in a i386 host to a i386 target.

the following error appears to me:

(cd /home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/src; /bin/sh ../libtool  --tag=CC --mode=relink /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -Os -pipe -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/include --sysroot=/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/ -isysroot /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir -mtune=i386 -march=i386 -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -g -O2 -version-info 
0:0:0 -o libxcb-xvmc.la -rpath /usr/lib xvmc.lo 
libxcb.la -inst-prefix-dir /home/rafael2k/programs/gnuden/buildroot/project_build_i386/gnudenberg/root)
/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -Os -pipe  -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/include --sysroot=/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/ -isysroot /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir -mtune=i386 -march=i386 -shared  .libs/xvmc.o  -L/home/rafael2k/programs/gnuden/buildroot/project_build_i386/gnudenberg/root/usr/lib -L/usr/lib -lxcb -L/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/lib  -mtune=i386 -march=i386 -Wl,-soname -Wl,libxcb-xvmc.so.0 -o .libs/libxcb-xvmc.so.0.0.0
/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/../lib/gcc/i386-linux-uclibc/4.2.1/../../../../i386-linux-uclibc/bin/ld: 
cannot find /lib/libc.so.0
collect2: ld returned 1 exit status
libtool: install: error: relink `libxcb-xvmc.la' with the above command before 
installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory 
`/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/src'
make[1]: *** [install-exec-recursive] Error 1
make[1]: Leaving directory 
`/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0'
make: *** 
[/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/.stamp_target_installed] 
Error 2


anyone has some light to me?

thx!
rafael diniz

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Ci?ncia da Computa??o @  Unicamp
R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/buildroot/attachments/20071001/cad4fd99/attachment.pgp 

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

* [Buildroot] x11r7 build error
  2007-10-01 21:15 ` Ivan Kuten
@ 2007-10-01 20:40   ` rafael2k
  2007-10-02 10:26     ` Kuten Ivan
  0 siblings, 1 reply; 5+ messages in thread
From: rafael2k @ 2007-10-01 20:40 UTC (permalink / raw)
  To: buildroot

Hi all,

Em Seg 01 Out 2007, Ivan Kuten escreveu:
> rafael2k ?????:
> > I'm triyng to compile x11r7 in a i386 host to a i386 target.
> >
> > the following error appears to me:
>
> > /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/.
> >./lib/gcc/i386-linux-uclibc/4.2.1/../../../../i386-linux-uclibc/bin/ld:
> > cannot find /lib/libc.so.0
> > collect2: ld returned 1 exit status
> > libtool: install: error: relink `libxcb-xvmc.la' with the above command
> > before installing it
>
> This is what I get for arm arch: when relinking it looks in wrong location
> /usr/lib for libc library, however I do not get error because linker
> recognizes incompatible format and skips library:

is this re-linking step really necessary?
i really don't have experience w/ the xorg compilation.
anyone has any advice to me?


thx,
rafael diniz

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Ci?ncia da Computa??o @  Unicamp
R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/buildroot/attachments/20071001/849bcbb1/attachment.pgp 

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

* [Buildroot] x11r7 build error
  2007-10-01 18:37 [Buildroot] x11r7 build error rafael2k
@ 2007-10-01 21:15 ` Ivan Kuten
  2007-10-01 20:40   ` rafael2k
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Kuten @ 2007-10-01 21:15 UTC (permalink / raw)
  To: buildroot

rafael2k ?????:
> I'm triyng to compile x11r7 in a i386 host to a i386 target.
> 
> the following error appears to me:
> 
> (cd /home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/src; /bin/sh ../libtool  --tag=CC --mode=relink /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -Os -pipe -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/include --sysroot=/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/ -isysroot /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir -mtune=i386 -march=i386 -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -g -O2 -version-info 
> 0:0:0 -o libxcb-xvmc.la -rpath /usr/lib xvmc.lo 
> libxcb.la -inst-prefix-dir /home/rafael2k/programs/gnuden/buildroot/project_build_i386/gnudenberg/root)
> /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc -Os -pipe  -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/include -I/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/include --sysroot=/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/ -isysroot /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir -mtune=i386 -march=i386 -shared  .libs/xvmc.o  -L/home/rafael2k/programs/gnuden/buildroot/project_build_i386/gnudenberg/root/usr/lib -L/usr/lib -lxcb -L/home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/lib  -mtune=i386 -march=i386 -Wl,-soname -Wl,libxcb-xvmc.so.0 -o .libs/libxcb-xvmc.so.0.0.0
> /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/../lib/gcc/i386-linux-uclibc/4.2.1/../../../../i386-linux-uclibc/bin/ld: 
> cannot find /lib/libc.so.0
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libxcb-xvmc.la' with the above command before 
> installing it
> make[2]: *** [install-libLTLIBRARIES] Error 1
> make[2]: Leaving directory 
> `/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/src'
> make[1]: *** [install-exec-recursive] Error 1
> make[1]: Leaving directory 
> `/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0'
> make: *** 
> [/home/rafael2k/programs/gnuden/buildroot/build_i386/libxcb-1.0/.stamp_target_installed] 
> Error 2
> 
> 
> anyone has some light to me?
> 
> thx!
> rafael diniz

This is what I get for arm arch: when relinking it looks in wrong location /usr/lib for libc library,
however I do not get error because linker recognizes incompatible format and skips library:

libtool: install: warning: relinking `libxcb-xvmc.la'
(cd /opt/buildroot/build_arm/libxcb-1.0/src; /bin/sh ../libtool  --tag=CC --mode=relink /opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe
-I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include --sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir
-mtune=arm920t -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -I/opt/buildroot/build_arm/staging_dir/usr/include
-I/opt/buildroot/build_arm/staging_dir/usr/include -g -O2 -version-info 0:0:0 -o libxcb-xvmc.la -rpath /usr/lib xvmc.lo libxcb.la -inst-prefix-dir /opt/buildroot/project_build_arm/uclibc/root)
/opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe  -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include
--sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -shared  .libs/xvmc.o  -L/opt/buildroot/project_build_arm/uclibc/root/usr/lib -L/usr/lib
-lxcb -L/opt/buildroot/build_arm/staging_dir/usr/lib  -mtune=arm920t -Wl,-soname -Wl,libxcb-xvmc.so.0 -o .libs/libxcb-xvmc.so.0.0.0
/opt/buildroot/build_arm/staging_dir/usr/bin/../lib/gcc/arm-linux-uclibc/4.2.1/../../../../arm-linux-uclibc/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/opt/buildroot/build_arm/staging_dir/usr/bin/../lib/gcc/arm-linux-uclibc/4.2.1/../../../../arm-linux-uclibc/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/install -c .libs/libxcb-xvmc.so.0.0.0T /opt/buildroot/project_build_arm/uclibc/root/usr/lib/libxcb-xvmc.so.0.0.0
(cd /opt/buildroot/project_build_arm/uclibc/root/usr/lib && { ln -s -f libxcb-xvmc.so.0.0.0 libxcb-xvmc.so.0 || { rm -f libxcb-xvmc.so.0 && ln -s libxcb-xvmc.so.0.0.0 libxcb-xvmc.so.0; }; })
(cd /opt/buildroot/project_build_arm/uclibc/root/usr/lib && { ln -s -f libxcb-xvmc.so.0.0.0 libxcb-xvmc.so || { rm -f libxcb-xvmc.so && ln -s libxcb-xvmc.so.0.0.0 libxcb-xvmc.so; }; })
/usr/bin/install -c .libs/libxcb-xvmc.lai /opt/buildroot/project_build_arm/uclibc/root/usr/lib/libxcb-xvmc.la
/usr/bin/install -c .libs/libxcb-xvmc.a /opt/buildroot/project_build_arm/uclibc/root/usr/lib/libxcb-xvmc.a


Best regards,
Ivan

--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

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

* [Buildroot] x11r7 build error
  2007-10-01 20:40   ` rafael2k
@ 2007-10-02 10:26     ` Kuten Ivan
  2007-10-04  2:42       ` rafael2k
  0 siblings, 1 reply; 5+ messages in thread
From: Kuten Ivan @ 2007-10-02 10:26 UTC (permalink / raw)
  To: buildroot

rafael2k wrote:
> Hi all,
> 
> Em Seg 01 Out 2007, Ivan Kuten escreveu:
>> rafael2k ?????:
>>> I'm triyng to compile x11r7 in a i386 host to a i386 target.
>>>
>>> the following error appears to me:
>>> /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin/.
>>> ./lib/gcc/i386-linux-uclibc/4.2.1/../../../../i386-linux-uclibc/bin/ld:
>>> cannot find /lib/libc.so.0
>>> collect2: ld returned 1 exit status
>>> libtool: install: error: relink `libxcb-xvmc.la' with the above command
>>> before installing it
>> This is what I get for arm arch: when relinking it looks in wrong location
>> /usr/lib for libc library, however I do not get error because linker
>> recognizes incompatible format and skips library:
> 
> is this re-linking step really necessary?
> i really don't have experience w/ the xorg compilation.
> anyone has any advice to me?
> 

You have to repair by hands. Go to libxcb dir and remove wrong
-L/usr/lib -L/lib occurrences in Makefiles.

BR,
Ivan
--------------------------------
> Embedded Linux engineer,
> Promwad Company: http://www.promwad.com/
> Homepage : http://www.ivankuten.com/
> --------------------------------

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

* [Buildroot] x11r7 build error
  2007-10-02 10:26     ` Kuten Ivan
@ 2007-10-04  2:42       ` rafael2k
  0 siblings, 0 replies; 5+ messages in thread
From: rafael2k @ 2007-10-04  2:42 UTC (permalink / raw)
  To: buildroot

Em Ter 02 Out 2007, Kuten Ivan escreveu:
> rafael2k wrote:
> > Hi all,
> >
> > Em Seg 01 Out 2007, Ivan Kuten escreveu:
> >> rafael2k ?????:
> >>> I'm triyng to compile x11r7 in a i386 host to a i386 target.
> >>>
> >>> the following error appears to me:
> >>> /home/rafael2k/programs/gnuden/buildroot/build_i386/staging_dir/usr/bin
> >>>/.
> >>> ./lib/gcc/i386-linux-uclibc/4.2.1/../../../../i386-linux-uclibc/bin/ld:
> >>> cannot find /lib/libc.so.0
> >>> collect2: ld returned 1 exit status
> >>> libtool: install: error: relink `libxcb-xvmc.la' with the above command
> >>> before installing it
> >>
> >> This is what I get for arm arch: when relinking it looks in wrong
> >> location /usr/lib for libc library, however I do not get error because
> >> linker recognizes incompatible format and skips library:
> >
> > is this re-linking step really necessary?
> > i really don't have experience w/ the xorg compilation.
> > anyone has any advice to me?
>
> You have to repair by hands. Go to libxcb dir and remove wrong
> -L/usr/lib -L/lib occurrences in Makefiles.

hi Ivan,
libtool that is adding those -L...
is there any way to not use libtool?

thx!
rafael diniz


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Ci?ncia da Computa??o @  Unicamp
R?dio Muda, radiolivre.org, TV Piolho, tvlivre.org, www.midiaindependente.org
Chave PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2FF86098
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/buildroot/attachments/20071003/173bc32f/attachment.pgp 

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

end of thread, other threads:[~2007-10-04  2:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-01 18:37 [Buildroot] x11r7 build error rafael2k
2007-10-01 21:15 ` Ivan Kuten
2007-10-01 20:40   ` rafael2k
2007-10-02 10:26     ` Kuten Ivan
2007-10-04  2:42       ` rafael2k

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox