/usr/lib64/libX11.so.6: could not read symbols

Help build two authors abandoned the emulator.

A FCEUX - Emulator Dendy - http://downloads.sourceforge.net/project/fceultra/Source%20Code/2.1.5%20src/fceux-2.1.5.src.tar.bz2
Compiling through scons

# scons

2 lxdream - Emulator Sega Dreamcast - http://www.lxdream.org/count.php?file=lxdream-0.9.1.tar.gz
Compiling through the. / Configure && make

#./configure --prefix=/usr --libdir=/usr/lib64 CFLAGS="-march=native -msse3 -O3 -fomit-frame-pointer -pipe" CXXFLAGS="-march=native -msse3 -O3 -fomit-frame-pointer -pipe" && make -j4

Both will fail like a mistake
1 FCEUX

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: src/drivers/sdl/sdl.o: undefined reference to symbol 'XKeysymToString'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'XKeysymToString' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation

2 lxdream

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: lxdream-video_glx.o: undefined reference to symbol 'XLoadQueryFont'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'XLoadQueryFont' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation

I’am find a similar problem [SOLVED] Compiling from source fails (DSO) - FedoraForum.org](http://forums.fedoraforum.org/showthread.php?t=246434) that this is a typical error of abandoned projects in MakeFile who need somewhere to finish the flags

-lX11 -ldl -lXext

But in different projects in different locations and exactly where they build upon these projects, I do not know.

I am not fluent at this, but reading it is a bit difficult. Your using of CODSE taas is OK, but you shoud copy/paste from the terminal the prompt, the command and the complete output including the next prompt between them Only posting what you think is relevant is not very celever, because you ask for help because you missed something. And that could be in a place whwre you think iti is irrelevant.

Also, when you show

#./configure ..

it might not be complete, but it looks as if you run this as root. thsi is dangerous and should not be done.