* [Buildroot] To fix the build failure of xlib_liblbxutil, xlib_libX11, xlib_libXt
@ 2008-03-04 6:20 JS
2008-03-05 3:02 ` Erik Andersen
0 siblings, 1 reply; 3+ messages in thread
From: JS @ 2008-03-04 6:20 UTC (permalink / raw)
To: buildroot
I am building for mipsel. And, I had to do the following modifications
to get x11r7 to build. I have not tested the binaries yet (they are
still getting built) so dont know whether these are right.
Please can someone look into these patches and tell me whether I am
missing something.
--
HiPro Solutions
http://hipro.co.in/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlib.diff
Type: text/x-patch
Size: 2737 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080304/fd2ca2c1/attachment.bin
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] To fix the build failure of xlib_liblbxutil, xlib_libX11, xlib_libXt
2008-03-04 6:20 [Buildroot] To fix the build failure of xlib_liblbxutil, xlib_libX11, xlib_libXt JS
@ 2008-03-05 3:02 ` Erik Andersen
2008-03-05 8:49 ` JS
0 siblings, 1 reply; 3+ messages in thread
From: Erik Andersen @ 2008-03-05 3:02 UTC (permalink / raw)
To: buildroot
On Tue Mar 04, 2008 at 11:50:49AM +0530, JS wrote:
> I am building for mipsel. And, I had to do the following modifications
> to get x11r7 to build. I have not tested the binaries yet (they are
> still getting built) so dont know whether these are right.
>
> Please can someone look into these patches and tell me whether I am
> missing something.
Thanks for your work trying to get X11r7 working in buildroot.
This does seem to be an improvement; however, there still seems
to be some problems. At least for me I am getting "-L/usr/lib"
in the build, which then pulls the wrong libraries..
(cd /home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1/src; /bin/bash ../libtool --tag=CC --mode=relink /home/andersen/SVN/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc -Os -pipe -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/include --sysroot=/home/andersen/SVN/buildroot/build_i586/staging_dir/ -isysroot /home/andersen/SVN/buildroot/build_i586/staging_dir -mtune=i586 -march=i586 -I../include -I../include/X11 -I../include -I../include/X11 -I../src/xcms -I../src/xkb -I../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -D_BSD_SOURCE -DX11_t -DTRANS_CLIENT -g -O2 -version-info 1:0:0 -no-undefined -o libX11-xcb.la -rpath /usr/lib x11_xcb.lo libX11.la -ldl -inst-prefix-dir /home/andersen/SVN/buildroot/project_build_i586/uclibc/root)
/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc -Os -pipe -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/include --sysroot=/home/andersen/SVN/buildroot/build_i586/staging_dir/ -isysroot /home/andersen/SVN/buildroot/build_i586/staging_dir -mtune=i586 -march=i586 -shared .libs/x11_xcb.o -L/home/andersen/SVN/buildroot/project_build_i586/uclibc/root/usr/lib -L/usr/lib -lX11 -L/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/lib -ldl -mtune=i586 -march=i586 -Wl,-soname -Wl,libX11-xcb.so.1 -o .libs/libX11-xcb.so.1.0.0
/usr/lib/libdl.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
libtool: install: error: relink `libX11-xcb.la' with the above command before installing it
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1/src'
make[2]: *** [install-exec-recursive] Error 1
make[2]: Leaving directory `/home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1/src'
make[1]: *** [install-exec-recursive] Error 1
make[1]: Leaving directory `/home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1'
make: *** [/home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1/.stamp_target_installed] Error 2
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] To fix the build failure of xlib_liblbxutil, xlib_libX11, xlib_libXt
2008-03-05 3:02 ` Erik Andersen
@ 2008-03-05 8:49 ` JS
0 siblings, 0 replies; 3+ messages in thread
From: JS @ 2008-03-05 8:49 UTC (permalink / raw)
To: buildroot
On Tue, 2008-03-04 at 20:02 -0700, Erik Andersen wrote:
> Thanks for your work trying to get X11r7 working in buildroot.
Thanks for replying. I started to think that I was missing something
very obvious ;)
> This does seem to be an improvement; however, there still seems
> to be some problems. At least for me I am getting "-L/usr/lib"
> in the build, which then pulls the wrong libraries..
>
> (cd /home/andersen/SVN/buildroot/build_i586/xlib_libX11-1.1.1/src; /bin/bash ../libtool --tag=CC --mode=relink /home/andersen/SVN/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc -Os -pipe -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/include --sysroot=/home/andersen/SVN/buildroot/build_i586/staging_dir/ -isysroot /home/andersen/SVN/buildroot/build_i586/staging_dir -mtune=i586 -march=i586 -I../include -I../include/X11 -I../include -I../include/X11 -I../src/xcms -I../src/xkb -I../src/xlibi18n -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -D_BSD_SOURCE -DX11_t -DTRANS_CLIENT -g -O2 -version-info 1:0:0 -no-undefined -o libX11-xcb.la -rpath /usr/lib x11_xcb.lo libX11.la -ldl -inst-prefix-dir /home/andersen/SVN/buildroot/project_build_i586/uclibc/root)
> /home/andersen/SVN/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc -Os -pipe -I/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/include -I/home/andersen/SVN/buildroot/build_i586/staging_dir/include --sysroot=/home/andersen/SVN/buildroot/build_i586/staging_dir/ -isysroot /home/andersen/SVN/buildroot/build_i586/staging_dir -mtune=i586 -march=i586 -shared .libs/x11_xcb.o -L/home/andersen/SVN/buildroot/project_build_i586/uclibc/root/usr/lib -L/usr/lib -lX11 -L/home/andersen/SVN/buildroot/build_i586/staging_dir/usr/lib -ldl -mtune=i586 -march=i586 -Wl,-soname -Wl,libX11-xcb.so.1 -o .libs/libX11-xcb.so.1.0.0
> /usr/lib/libdl.so: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
This doesnt seem to happen for me (on mipsel). I am currently stuck at
another issue that I filed a bug on (Bug:0002424), which happens much
later. I mean after x11 gets built, in gdk-pixbuf.
--
HiPro Solutions
http://hipro.co.in/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-05 8:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04 6:20 [Buildroot] To fix the build failure of xlib_liblbxutil, xlib_libX11, xlib_libXt JS
2008-03-05 3:02 ` Erik Andersen
2008-03-05 8:49 ` JS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox