Vreau sa compilez un joc.  Si, din pacate, makefile-ul este pentru win.  Dar merge cu 
allegro (biblioteci pentru jocuri care sint si pentru Win si pentru Linux) si ar 
trebui sa mearga si pe Linux.  Am luat ultima varianta de allegro de pe site (cum vor 
autorii jocului).  Am compilat-o fara probleme.  Dar culmea! jocul tot mai da erori.  
Pina la urma am stabilit o serie de biblioteci care trebuie instalate.  Si le-am pus 
pe cele care trebuie chemate.  Dupa o munca de vreo ora mai jos este rezultatul 
compilarii.  Problema cea mai grava este ca am si bibliotecile care au functiile de 
mai jos, toate in /usr/X11R6/lib care este in cale (e chiar primul director in 
/etc/ld.so.conf).  Si cu toate astea, din directorul ala numai -lX11 si -lGL nu il fac 
sa biziie pe ld.  Restul de lib*.a il fac sa anunte ca nu gaseste biblioteca.

Unde ar putea fi problema?

gcc -o newkind.exe alg_gfx.o alg_main.o docked.o elite.o intro.o planet.o shipdata.o 
shipface.o sound.o space.o swat.o threed.o vector.o random.o trade.o options.o stars.o 
missions.o pilot.o file.o keyboard.o -lalleg -lGL -lpthread -ldl -lc -lm
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xwin_private_create_screen':
xwin.o(.text+0x9f9): undefined reference to `XF86VidModeSetViewPort'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xdga_private_create_screen':
xwin.o(.text+0x947a): undefined reference to `XF86DGAQueryExtension'
xwin.o(.text+0x949b): undefined reference to `XF86DGAQueryVersion'
xwin.o(.text+0x94e7): undefined reference to `XF86VidModeQueryExtension'
xwin.o(.text+0x9509): undefined reference to `XF86VidModeQueryVersion'
xwin.o(.text+0x9537): undefined reference to `XF86DGAQueryDirectVideo'
xwin.o(.text+0x9682): undefined reference to `XF86DGAGetVideo'
xwin.o(.text+0x96bd): undefined reference to `XF86VidModeGetModeLine'
xwin.o(.text+0x996a): undefined reference to `XF86DGADirectVideo'
xwin.o(.text+0x9a25): undefined reference to `XF86DGAInstallColormap'
xwin.o(.text+0x9be9): undefined reference to `XF86DGASetVidPage'
xwin.o(.text+0x9c64): undefined reference to `XF86DGASetVidPage'
xwin.o(.text+0x9cd2): undefined reference to `XF86DGASetVidPage'
xwin.o(.text+0x9d2b): undefined reference to `XF86DGASetVidPage'
xwin.o(.text+0x9d42): undefined reference to `XF86DGASetViewPort'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xdga_private_destroy_screen':
xwin.o(.text+0x9eca): undefined reference to `XF86DGADirectVideo'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xdga_switch_screen_bank':
xwin.o(.text+0xa018): undefined reference to `XF86DGASetVidPage'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xdga_private_scroll_screen':
xwin.o(.text+0xa1d6): undefined reference to `XF86DGASetViewPort'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xvidmode_private_set_fullscreen':
xwin.o(.text+0xa313): undefined reference to `XF86VidModeQueryExtension'
xwin.o(.text+0xa330): undefined reference to `XF86VidModeQueryVersion'
xwin.o(.text+0xa35e): undefined reference to `XF86VidModeGetAllModeLines'
xwin.o(.text+0xa45e): undefined reference to `XF86VidModeSwitchToMode'
xwin.o(.text+0xa47b): undefined reference to `XF86VidModeLockModeSwitch'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xvidmode_private_unset_fullscreen':
xwin.o(.text+0xa5d7): undefined reference to `XF86VidModeLockModeSwitch'
xwin.o(.text+0xa5f4): undefined reference to `XF86VidModeSwitchToMode'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xvidmode_private_fetch_mode_list':
xwin.o(.text+0xa667): undefined reference to `XF86VidModeQueryExtension'
xwin.o(.text+0xa688): undefined reference to `XF86VidModeQueryVersion'
xwin.o(.text+0xa6b0): undefined reference to `XF86VidModeGetAllModeLines'
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/../../../liballeg.a(xwin.o): In function 
`_xdga_private_set_palette_range':
xwin.o(.text+0xa0e6): undefined reference to `XF86DGAInstallColormap'
collect2: ld returned 1 exit status
make: *** [newkind.exe] Error 1


-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+PKE3DQDP3rMKsI0RAotQAKCFactppAPSxc9mLORrE7ainqm/2ACfYSVL
FL33KZ8tpjspmMwQQ9FXcsY=
=+1GL
-----END PGP SIGNATURE-----


---
Pentru dezabonare, trimiteti mail la 
[EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'.
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/


Raspunde prin e-mail lui