The time now is Thu 26 Apr 2018, 06:16
All times are UTC - 4 |
Author |
Message |
rild
Joined: 20 Oct 2005 Posts: 11 Location: Bulgaria
|
Posted: Fri 21 Oct 2005, 08:19 Post subject:
compiling SDL problems - need libXxf86vm |
|
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: | 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.
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13648 Location: Karlsruhe, Germany
|
Posted: Fri 21 Oct 2005, 08:31 Post subject:
|
|
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
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 8529 Location: Perth, Western Australia
|
Posted: Sat 22 Oct 2005, 00:33 Post subject:
|
|
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.
|
Back to top
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1760 Location: Wadsworth, OH (occasionally home)
|
Posted: Sat 22 Oct 2005, 02:49 Post subject:
|
|
I've got a pretty full set of the SDL libs compiled too, if you need them.
Nathan
|
Back to top
|
|
 |
rild
Joined: 20 Oct 2005 Posts: 11 Location: Bulgaria
|
Posted: Mon 24 Oct 2005, 03:53 Post subject:
|
|
10x to all of you for quick answers - I think this will be enought for the moment
I compiled SDL with this configuration options:
Quote: | --with-x=yes --enable-video-x11=no |
and its seems to work without missing library.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|