Page 1 of 1

compiling SDL problems - need libXxf86vm

Posted: Fri 21 Oct 2005, 12:19
by rild
Hi all,
I am new with puppy :) I trying to compile SDL (http://www.libsdl.org/release/SDL-1.0.8.tar.gz), but it's look lile need some X11 headers

Code: Select all

make[2]: Entering directory `/mnt/home/tmp/SDL-1.0.8/src'
/bin/sh ../libtool --mode=link gcc  -g -O2 -DUSE_ASMBLIT -I./hermes -I../src/hermes  -I/usr/X11R6/include -DENABLE_X11 -DXFREE86_VM -DXFREE86_DGAMOUSE -DENABLE_FBCON -D_REENTRANT -DSDL_USE_PTHREADS -I../include -I../include/SDL -I../src -I../src/linux -I../src/main -I../src/audio -I../src/video -I../src/events -I../src/cdrom -I../src/thread -I../src/timer -I../src/endian -I../src/file  -o libSDL.la -rpath /usr/lib -release 1.0     -version-info 6:2:6 SDL.lo SDL_error.lo SDL_fatal.lo main/libarch.la                      audio/libaudio.la video/libvideo.la events/libevents.la cdrom/libcdrom.la thread/libthread.la timer/libtimer.la endian/libendian.la file/libfile.la hermes/libhermes.la                    -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga 
rm -fr .libs/libSDL.la .libs/libSDL.* .libs/libSDL-1.0.*
gcc -shared  SDL.lo SDL_error.lo SDL_fatal.lo -Wl,--whole-archive main/.libs/libarch.al audio/.libs/libaudio.al video/.libs/libvideo.al events/.libs/libevents.al cdrom/.libs/libcdrom.al thread/.libs/libthread.al timer/.libs/libtimer.al endian/.libs/libendian.al file/.libs/libfile.al hermes/.libs/libhermes.al -Wl,--no-whole-archive  main/.libs/libarch.al audio/.libs/libaudio.al video/.libs/libvideo.al events/.libs/libevents.al cdrom/.libs/libcdrom.al thread/.libs/libthread.al timer/.libs/libtimer.al endian/.libs/libendian.al file/.libs/libfile.al hermes/.libs/libhermes.al -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXxf86dga -lc  -Wl,-soname -Wl,libSDL-1.0.so.0 -o .libs/libSDL-1.0.so.0.6.2
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lXxf86vm
collect2: ld returned 1 exit status
make[2]: *** [libSDL.la] Error 1
make[2]: Leaving directory `/mnt/home/tmp/SDL-1.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/home/tmp/SDL-1.0.8/src'
make: *** [all-recursive] Error 1
I am booting from cd. Can someone help me or it will be better if can build SDL as a package. Thanks in advance.

Posted: Fri 21 Oct 2005, 12:31
by MU
Hi,

there are Dotpups with SDL.
Not all files, tell me if you need more.

Main-libraries and Midi-instruments(optional):
http://www.murga.org/%7Epuppy/viewtopic.php?t=2482
Some Sound-addons:
http://www.murga.org/%7Epuppy/viewtopic.php?t=2939

Mark

Posted: Sat 22 Oct 2005, 04:33
by BarryK
Assuming that you've got usr_devx.sfs,
look in /usr/X11R6/lib/
-- the library you want is there, renamed with "HIDE" prefix.

Reason it is hidden, is the Xvesa Kdrive server doesn't use it, ignores it, so
it is redundent. So, keep it out of the way. But, it seems to do no harm if
compiled into an application. Ditto for the others.

Posted: Sat 22 Oct 2005, 06:49
by Nathan F
I've got a pretty full set of the SDL libs compiled too, if you need them.

Nathan

Posted: Mon 24 Oct 2005, 07:53
by rild
10x to all of you for quick answers - I think this will be enought for the moment :)
I compiled SDL with this configuration options:
--with-x=yes --enable-video-x11=no
and its seems to work without missing library.