bugGnash - The GNU Flash player - Bugs: bug #19919, Linking to /usr/lib/libXinerama.so...

 
 

bug #19919: Linking to /usr/lib/libXinerama.so when crosscompiling

Submitted by:  Tomas Groth <tgc>
Submitted on:  Mon 21 May 2007 01:29:55 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 28 May 2007 08:56:01 AM UTC, comment #1:

This was caused by the my cross compile setup. I had copied alot of files from my ppc machine without editing any *.la files to correct the paths. Correcting the path in libXinerama.la fixed the problem.

Tomas Groth <tgc>
Mon 21 May 2007 01:29:55 PM UTC, original submission:

When trying to crosscompile from x86_64 to ppc i get a linking error. This setup used to work, so maybe something changed? It tries to link to /usr/lib/libXinerama.so which is a bit weird since i can't find the path in any of the makefiles...

Here's the error:

make[3]: Går til katalog '/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/gui'
/bin/sh ../libtool --tag=CXX --mode=link powerpc-unknown-linux-gnu-g++ -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -release cvs20070521 -no-undefined -export-dynamic -lltdl -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lavcodec -ldts -lvorbisenc -lavformat -lavutil -ltheora -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcurl -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lxml2 -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lboost_date_time-mt -lboost_thread-mt -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lpthread -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lagg -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcairo -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lgmodule-2.0 -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcairo -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lpango-1.0 -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -latk-1.0 -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lglib-2.0 -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lexpat -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lX11 -lXinerama -lXext -lSM -lICE -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lavcodec -ldts -lvorbisenc -lavformat -lavutil -ltheora -Wl,--as-needed -o libgnashgui.la -rpath /opt/ppc/cross/powerpc-unknown-linux-gnu/lib gtk.lo gtk_glue_agg.lo gui.lo NullGui.lo ../server/libgnashserver.la ../backend/libgnashbackend.la ../libamf/libgnashamf.la -lrt -lX11 -lXi -lm
powerpc-unknown-linux-gnu-g++ -shared -nostdlib /opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/../../../../powerpc-unknown-linux-gnu/lib/crti.o /opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/crtbeginS.o .libs/gtk.o .libs/gtk_glue_agg.o .libs/gui.o .libs/NullGui.o -Wl,--rpath -Wl,/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/server/.libs -Wl,--rpath -Wl,/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/backend/.libs -Wl,--rpath -Wl,/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/libamf/.libs -Wl,--rpath -Wl,/home/tomas/gnash/ppc-build/install/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -L/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/server/.libs -L/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/libamf/.libs -lltdl -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcurl -lxml2 -lboost_date_time-mt -lboost_thread-mt -lpthread -lagg -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lgmodule-2.0 -lcairo -lpango-1.0 -latk-1.0 -lglib-2.0 -lexpat /usr/lib/libXinerama.so -lXext -lSM -lICE -lavcodec -ldts -lvorbisenc -lavformat -lavutil -ltheora ../server/.libs/libgnashserver.so -L/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/libgeometry/.libs -L/home/tomas/gnash/ppc-build/ppc-gtk-agg-ffmpeg/libbase/.libs ../backend/.libs/libgnashbackend.so ../libamf/.libs/libgnashamf.so -lrt -lX11 -lXi -L/opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2 -L/opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/../../../../powerpc-unknown-linux-gnu/lib -lstdc++ -lm -lc -lgcc_s /opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/crtsavres.o /opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/crtendS.o /opt/ppc/cross/lib/gcc/powerpc-unknown-linux-gnu/4.1.2/../../../../powerpc-unknown-linux-gnu/lib/crtn.o -pthread -Wl,--as-needed -Wl,-soname -Wl,libgnashgui-cvs20070521.so -o .libs/libgnashgui-cvs20070521.so
/usr/lib/libXinerama.so: could not read symbols: File in wrong format

Dumpconfig:
Building in directories: libbase libgeometry libamf server backend utilities gui testsuite po plugin extensions cygnal
Some directories may be excluded from the build
Linux odin 2.6.19-beyond #1 SMP PREEMPT Sun Dec 17 17:26:42 CET 2006 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux
powerpc-unknown-linux-gnu-g++ -v
Benytter indbyggede specifikationer.
Target: powerpc-unknown-linux-gnu
Konfigureret med: ../gcc-4.1.2/configure --prefix=/opt/ppc/cross --program-prefix=powerpc-unknown-linux-gnu- --target=powerpc-unknown-linux-gnu --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib : (reconfigured) ../gcc-4.1.2/configure --prefix=/opt/ppc/cross --program-prefix=powerpc-unknown-linux-gnu- --target=powerpc-unknown-linux-gnu --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --disable-multilib --with-libs=/opt/ppc/usr/lib --with-headers=/opt/ppc/usr/include
Trådmodel: posix
GCC version 4.1.2

Image decoding support...
JPEG_CFLAGS is
JPEG_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -ljpeg
PNG_CFLAGS is
PNG_LIBS is
Audio decoding support...
FFMPEG_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include
FFMPEG_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lavcodec -ldts -lvorbisenc -lavformat -lavutil -ltheora
OGG_CFLAGS is
OGG_LIBS is
GUI Toolkit decoding support...
SDL_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/SDL
SDL_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lSDL
GTK2_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/gtk-2.0 -I/opt/ppc/cross/powerpc-unknown-linux-gnu/lib/gtk-2.0/include
GTK2_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lgmodule-2.0
PANGO_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/pango-1.0
PANGO_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lpango-1.0
ATK_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/atk-1.0
ATK_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -latk-1.0
X11_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include
X11_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lX11 -lXinerama -lXext -lSM -lICE
Support libraries...
INCLTDL
LIBLTDL -lltdl
GLIB_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/glib-2.0 -I/opt/ppc/cross/powerpc-unknown-linux-gnu/lib/glib-2.0/include
GLIB_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lglib-2.0
Z_CFLAGS is
Z_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lz
LIBXML_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/libxml2
LIBXML_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lxml2
PTHREAD_CFLAGS is -pthread
PTHREAD_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lpthread
CURL_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include
CURL_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcurl
BOOST_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include
BOOST_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lboost_date_time-mt -lboost_thread-mt
Graphics support...
CAIRO_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/cairo
CAIRO_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lcairo
AGG_CFLAGS is -I/opt/ppc/cross/powerpc-unknown-linux-gnu/include/agg2
AGG_LIBS is -L/opt/ppc/cross/powerpc-unknown-linux-gnu/lib -lagg
A blank value for CFLAGS means the header is installed in the
default system header location. All the LIBS should have a
legit value

Configurable options are:
Media handler: ffmpeg
Renderer engine: agg
GUI: gtk2
Extensions:

Tomas Groth <tgc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tgc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 May 2007 08:56:01 AM UTCtgcStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1