Am 15 Jun 2001 12:51:57 -0400 schrieb Abhay Saxena:
> On Mandrake, you can find the static X11 libraries in the package
> XFree86-static-libs-4.0.3-7mdk.i586.rpm
> 
> Hope that helps.
> 
>   - Abhay

It won't help, 'coz "/usr/X11R6/lib" isn't part of ld's default search
path. I had the following error message

c++ -shared -o plugin-bochs.so io.o pc_system.o state_file.o \
                 iodev/libiodev.a gui/libgui.a \
                   -lX11
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status

After changing into 'plex86/user/plugins/bochs' and executing the
command

c++ -L/usr/X11R6/lib -shared -o plugin-bochs.so io.o pc_system.o
state_file.o  iodev/libiodev.a gui/libgui.a -lX11
(everything in one line)

I had no errors. But I'm not as familiar with autoconf as I need to tell
you in what way to run 'configure' to add '-L/usr/X11R6/lib' BEFORE
'-lX11' so that these errors don't occur anymore.

--
Sven


Reply via email to