|
|
|
|
|
|
|
|
|
|
xci-devel
Re: [Xci-devel] Problem building glib2/dbus libs
Hi Andreas,
This is a known bug that can be resolved by doing a
simple link :
ln -s /usr/src /usr/src/build/build_i686/staging_dir/usr/src cheers
2009/10/11 Andreas Sommer <AndiDog@xxxxxx>
Hi,
I followed the building instructions on the website (with a brand new
Debian lenny and unmodified config file) and ran into the following
make problem after a while:
/usr/bin/make -j5 -C /usr/src/build/build_i686/dbus-glib-0.80 all
make[1]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80'
/usr/bin/make all-recursive
make[2]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80'
Making all in dbus
make[3]: Entering directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
/usr/bin/make all-recursive
make[4]: Entering directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
Making all in .
make[5]: Entering directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
/bin/sh ../libtool --tag=CC --mode=link
/usr/src/build/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc
-Os -I/usr/src/build/build_i686/staging_dir/usr/include
-I/usr/src/build/build_i686/staging_dir/include
--sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
/usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-ggdb -Os -I/usr/src/build/build_i686/staging_dir/usr/include
-I/usr/src/build/build_i686/staging_dir/include
--sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot
/usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb
-Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal
-Wsign-compare -export-symbols-regex "^[^_].*" -version-info 3:0:1
-no-undefined -L/usr/src/build/build_i686/staging_dir/lib
-L/usr/src/build/build_i686/staging_dir/usr/lib
--sysroot=/usr/src/build/build_i686/staging_dir/ -ggdb -o
libdbus-glib-1.la -rpath /usr/lib dbus-glib.lo dbus-gmain.lo
dbus-gmarshal.lo dbus-gobject.lo dbus-gproxy.lo dbus-gtest.lo
dbus-gvalue.lo dbus-gthread.lo dbus-gtype-specialized.lo dbus-gutils.lo
dbus-gsignature.lo dbus-gvalue-utils.lo -ldbus-1 -lpthread
-lgobject-2.0 -lglib-2.0 -lintl
grep:
/usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la:
No such file or directory
/usr/src/build/toolchain_build_i686/bin/sed: can't read /usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la:
No such file or directory
libtool: link:
`/usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la'
is not a valid libtool archive
make[5]: *** [libdbus-glib-1.la] Error 1
make[5]: Leaving directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80'
make: *** [/usr/src/build/build_i686/dbus-glib-0.80/.compiled] Error 2
The most obvious problem is marked red: The /usr/src/... path
is appended to itself. I thought this might be a problem with the --sysroot
argument, so for each sysroot-containing command I removed the /usr/src/build/build_i686/staging_dir/
prefix in the -L and -I arguments, but still get
some other problems afterwards. So does this work for you or do you
have the same issue? BTW I also tried an older snapshot from September
-- same problem.
Best regards
_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
|
|
|
|
|