compiling SDL problems - need libXxf86vm

Using applications, configuring, problems
Post Reply
Message
Author
rild
Posts: 11
Joined: Thu 20 Oct 2005, 15:44
Location: Bulgaria
Contact:

compiling SDL problems - need libXxf86vm

#1 Post 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.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post 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

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post 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.

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#4 Post by Nathan F »

I've got a pretty full set of the SDL libs compiled too, if you need them.

Nathan

rild
Posts: 11
Joined: Thu 20 Oct 2005, 15:44
Location: Bulgaria
Contact:

#5 Post 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.

Post Reply