.../bin/ld: cannot find -lXinerama compiling MAME 149


dgame

Active Member
Joined
Oct 1, 2006
Messages
945
armv7l-unknown-linux-gnueabi/bin/ld: cannot find -lXinerama

Trying to compile [sDL]MAME 149 with Code::Blocks with C/C++/Py/Perl/Fortran/Ruby Development Tool using the Command Line Interface.
http://www.mamedev.org/downloader.php?file=releases/mame0149s.zip
http://repo.openpandora.org/?page=detail&app=codeblocks6022

:~$make NOASM=1 NOWERROR=1
 

Early into the build it fails with the error:


Compiling src/osd/sdl/sdlmisc_unix.c...
Compiling src/osd/sdl/sdlos_unix.c...
Compiling src/osd/sdl/sdlsync_tc.c...
Compiling src/osd/sdl/sdlwork.c...
Archiving obj/sdl/libocore.a...
Linking obj/sdl/build/file2str...
/mnt/utmp/codeblocks/usr/lib/gcc/armv7l-unknown-linux-gnueabi/4.7.2/../../../../armv7l-unknown-linux-gnueabi/bin/ld: cannot find -lXinerama
collect2: error: ld returned 1 exit status
make: *** [obj/sdl/build/file2str] Error 1
From the DisplayLink thread it appears that Xinerama does not work on SZ 1.54.
Is there a workaround or an option to include or ignore the Xinerama library?

Thanks!
 
I will include Xinerama on next build. In the mean time, you can compilte it yourself, it's a very small package.
 
I am not familiar with compiling libraries and getting them to work with the PND compilers. However I am willing to try if I can get some pointers.

I ended up installing the compile environment to nand using the using the Angstrom packages.

Thanks
 
Is there a way for the Code::Blocks with C/C++/Py/Perl/Fortran/Ruby Development Tool PND to use the Xinerama library that I installed to the NAND?
 
Back
Top