Compiler error aprq2 linux

The place to discuss your client and server issues, or to post your client and server related problems. Now with added Anticheat flavour.

Moderator: Moderators

Post Reply
antihero
is connecting
Posts: 10
Joined: Fri Oct 31, 2003 12:52 pm
Location: no
Contact:

Compiler error aprq2 linux

Post by antihero »

I got ubuntu, but when i try to compile i get this error at the end:

gudmund@mad:~/Games/quake2/aprq2_v1.211-src$ make
make targets BUILDDIR=releasei386 CFLAGS="-funsigned-char -pipe -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations"
make[1]: Entering directory `/home/gudmund/Games/quake2/aprq2_v1.211-src'
gcc -o releasei386/aq2 releasei386/q2glx/cl_cin.o releasei386/q2glx/cl_ents.o releasei386/q2glx/cl_fx.o releasei386/q2glx/cl_input.o releasei386/q2glx/cl_inv.o releasei386/q2glx/cl_main.o releasei386/q2glx/cl_parse.o releasei386/q2glx/cl_pred.o releasei386/q2glx/cl_tent.o releasei386/q2glx/cl_scrn.o releasei386/q2glx/cl_view.o releasei386/q2glx/cl_newfx.o releasei386/q2glx/console.o releasei386/q2glx/keys.o releasei386/q2glx/snd_dma.o releasei386/q2glx/snd_mem.o releasei386/q2glx/snd_mix.o releasei386/q2glx/m_flash.o releasei386/q2glx/cl_loc.o releasei386/q2glx/cl_draw.o releasei386/q2glx/cl_demo.o releasei386/q2glx/cl_http.o releasei386/q2glx/cmd.o releasei386/q2glx/cmodel.o releasei386/q2glx/common.o releasei386/q2glx/crc.o releasei386/q2glx/cvar.o releasei386/q2glx/files.o releasei386/q2glx/md4.o releasei386/q2glx/net.o releasei386/q2glx/net_chan.o releasei386/q2glx/pmove.o releasei386/q2glx/q_shared.o releasei386/q2glx/q_msg.o releasei386/q2glx/sv_ccmds.o releasei386/q2glx/sv_ents.o releasei386/q2glx/sv_game.o releasei386/q2glx/sv_init.o releasei386/q2glx/sv_main.o releasei386/q2glx/sv_send.o releasei386/q2glx/sv_user.o releasei386/q2glx/sv_world.o releasei386/q2glx/q_shlinux.o releasei386/q2glx/vid_so.o releasei386/q2glx/sys_linux.o releasei386/q2glx/glob.o releasei386/q2glx/cd_linux.o releasei386/q2glx/qmenu.o releasei386/q2glx/ui_addressbook.o releasei386/q2glx/ui_atoms.o releasei386/q2glx/ui_controls.o releasei386/q2glx/ui_credits.o releasei386/q2glx/ui_demos.o releasei386/q2glx/ui_dmoptions.o releasei386/q2glx/ui_download.o releasei386/q2glx/ui_game.o releasei386/q2glx/ui_joinserver.o releasei386/q2glx/ui_keys.o releasei386/q2glx/ui_loadsavegame.o releasei386/q2glx/ui_main.o releasei386/q2glx/ui_multiplayer.o releasei386/q2glx/ui_newoptions.o releasei386/q2glx/ui_playerconfig.o releasei386/q2glx/ui_quit.o releasei386/q2glx/ui_startserver.o releasei386/q2glx/ui_video.o releasei386/q2glx/ui_mp3.o releasei386/q2glx/gl_draw.o releasei386/q2glx/gl_image.o releasei386/q2glx/gl_light.o releasei386/q2glx/gl_mesh.o releasei386/q2glx/gl_model.o releasei386/q2glx/gl_rmain.o releasei386/q2glx/gl_rmisc.o releasei386/q2glx/gl_rsurf.o releasei386/q2glx/gl_warp.o releasei386/q2glx/gl_decal.o releasei386/q2glx/qgl_linux.o releasei386/q2glx/rw_linux.o releasei386/q2glx/xmms.o releasei386/q2glx/mpd.o releasei386/q2glx/libmpdclient.o releasei386/q2glx/snd_openal.o releasei386/q2glx/ioapi.o releasei386/q2glx/unzip.o releasei386/q2glx/gl_glx.o releasei386/q2glx/snd_linux.o releasei386/q2glx/snd_oss.o releasei386/q2glx/snd_alsa.o releasei386/q2glx/snd_mixa.o -lm -ldl -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lz -ljpeg -lpng
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[1]: *** [releasei386/aq2] Error 1
make[1]: Leaving directory `/home/gudmund/Games/quake2/aprq2_v1.211-src'
make: *** [release] Error 2

Does anyone know what to do with that?
Feel the power
Stric
needs some Pepto Bismol
Posts: 730
Joined: Tue Jul 29, 2003 5:41 am
Location: si
Contact:

Post by Stric »

Dont you know what -lXext means?
Lib Xext missing O_o
Image
Image
^stric^
antihero
is connecting
Posts: 10
Joined: Fri Oct 31, 2003 12:52 pm
Location: no
Contact:

Post by antihero »

Thanks, that helped.. got some more errors that looked like it and figured out them, but now it stops with this:

gudmund@mad:~/Games/quake2/aprq2_v1.211-src$ make
make targets BUILDDIR=releasei386 CFLAGS="-funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations"
make[1]: Entering directory `/home/gudmund/Games/quake2/aprq2_v1.211-src'
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/xmms.o -c linux/xmms.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/mpd.o -c linux/mpd.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/libmpdclient.o -c linux/libmpdclient.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/snd_openal.o -c client/snd_openal.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/ioapi.o -c include/minizip/ioapi.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/unzip.o -c include/minizip/unzip.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/gl_glx.o -c linux/gl_glx.c -I/usr/X11R6/include
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/snd_linux.o -c linux/snd_linux.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/snd_oss.o -c linux/snd_oss.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -o releasei386/q2glx/snd_alsa.o -c linux/snd_alsa.c
gcc -funsigned-char -pipe -DUSE_OPENAL -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fexpensive-optimizations -DGL_QUAKE -DELF -x assembler-with-cpp -o releasei386/q2glx/snd_mixa.o -c linux/snd_mixa.s
gcc -o releasei386/aq2 releasei386/q2glx/cl_cin.o releasei386/q2glx/cl_ents.o releasei386/q2glx/cl_fx.o releasei386/q2glx/cl_input.o releasei386/q2glx/cl_inv.o releasei386/q2glx/cl_main.o releasei386/q2glx/cl_parse.o releasei386/q2glx/cl_pred.o releasei386/q2glx/cl_tent.o releasei386/q2glx/cl_scrn.o releasei386/q2glx/cl_view.o releasei386/q2glx/cl_newfx.o releasei386/q2glx/console.o releasei386/q2glx/keys.o releasei386/q2glx/snd_dma.o releasei386/q2glx/snd_mem.o releasei386/q2glx/snd_mix.o releasei386/q2glx/m_flash.o releasei386/q2glx/cl_loc.o releasei386/q2glx/cl_draw.o releasei386/q2glx/cl_demo.o releasei386/q2glx/cl_http.o releasei386/q2glx/cmd.o releasei386/q2glx/cmodel.o releasei386/q2glx/common.o releasei386/q2glx/crc.o releasei386/q2glx/cvar.o releasei386/q2glx/files.o releasei386/q2glx/md4.o releasei386/q2glx/net.o releasei386/q2glx/net_chan.o releasei386/q2glx/pmove.o releasei386/q2glx/q_shared.o releasei386/q2glx/q_msg.o releasei386/q2glx/sv_ccmds.o releasei386/q2glx/sv_ents.o releasei386/q2glx/sv_game.o releasei386/q2glx/sv_init.o releasei386/q2glx/sv_main.o releasei386/q2glx/sv_send.o releasei386/q2glx/sv_user.o releasei386/q2glx/sv_world.o releasei386/q2glx/q_shlinux.o releasei386/q2glx/vid_so.o releasei386/q2glx/sys_linux.o releasei386/q2glx/glob.o releasei386/q2glx/cd_linux.o releasei386/q2glx/qmenu.o releasei386/q2glx/ui_addressbook.o releasei386/q2glx/ui_atoms.o releasei386/q2glx/ui_controls.o releasei386/q2glx/ui_credits.o releasei386/q2glx/ui_demos.o releasei386/q2glx/ui_dmoptions.o releasei386/q2glx/ui_download.o releasei386/q2glx/ui_game.o releasei386/q2glx/ui_joinserver.o releasei386/q2glx/ui_keys.o releasei386/q2glx/ui_loadsavegame.o releasei386/q2glx/ui_main.o releasei386/q2glx/ui_multiplayer.o releasei386/q2glx/ui_newoptions.o releasei386/q2glx/ui_playerconfig.o releasei386/q2glx/ui_quit.o releasei386/q2glx/ui_startserver.o releasei386/q2glx/ui_video.o releasei386/q2glx/ui_mp3.o releasei386/q2glx/gl_draw.o releasei386/q2glx/gl_image.o releasei386/q2glx/gl_light.o releasei386/q2glx/gl_mesh.o releasei386/q2glx/gl_model.o releasei386/q2glx/gl_rmain.o releasei386/q2glx/gl_rmisc.o releasei386/q2glx/gl_rsurf.o releasei386/q2glx/gl_warp.o releasei386/q2glx/gl_decal.o releasei386/q2glx/qgl_linux.o releasei386/q2glx/rw_linux.o releasei386/q2glx/xmms.o releasei386/q2glx/mpd.o releasei386/q2glx/libmpdclient.o releasei386/q2glx/snd_openal.o releasei386/q2glx/ioapi.o releasei386/q2glx/unzip.o releasei386/q2glx/gl_glx.o releasei386/q2glx/snd_linux.o releasei386/q2glx/snd_oss.o releasei386/q2glx/snd_alsa.o releasei386/q2glx/snd_mixa.o -lm -ldl -L/usr/X11R6/lib -lX11 -lXext -lXxf86dga -lXxf86vm -lz -ljpeg -lpng
releasei386/q2glx/cl_main.o: In function `CL_Shutdown':
cl_main.c:(.text+0x575): undefined reference to `MP3_Shutdown'
releasei386/q2glx/cl_main.o: In function `CL_Frame':
cl_main.c:(.text+0x4016): undefined reference to `MP3_Frame'
releasei386/q2glx/cl_main.o: In function `CL_Init':
cl_main.c:(.text+0x4f83): undefined reference to `MP3_Init'
releasei386/q2glx/ui_mp3.o: In function `MP3_MenuInit':
ui_mp3.c:(.text+0x22b): undefined reference to `MP3_GetPlaylistSongs'
ui_mp3.c:(.text+0x261): undefined reference to `MP3_GetPlaylistInfo'
ui_mp3.c:(.text+0x281): undefined reference to `MP3_GetTrackTime'
ui_mp3.c:(.text+0x41d): undefined reference to `MP3_Menu_SongTitle'
releasei386/q2glx/ui_mp3.o: In function `Current_Track':
ui_mp3.c:(.text+0x534): undefined reference to `MP3_GetPlaylistInfo'
ui_mp3.c:(.text+0x553): undefined reference to `MP3_GetTrackTime'
ui_mp3.c:(.text+0x6a8): undefined reference to `MP3_Menu_SongTitle'
releasei386/q2glx/ui_mp3.o: In function `MP3_MenuDraw':
ui_mp3.c:(.text+0x766): undefined reference to `MP3_GetPlaylistInfo'
ui_mp3.c:(.text+0x786): undefined reference to `MP3_GetTrackTime'
ui_mp3.c:(.text+0x86d): undefined reference to `MP3_Menu_SongTitle'
releasei386/q2glx/ui_mp3.o: In function `Tracks_Filter':
ui_mp3.c:(.text+0x93c): undefined reference to `MP3_GetPlaylistSongs'
ui_mp3.c:(.text+0x972): undefined reference to `MP3_GetPlaylistInfo'
ui_mp3.c:(.text+0x992): undefined reference to `MP3_GetTrackTime'
ui_mp3.c:(.text+0xb31): undefined reference to `MP3_Menu_SongTitle'
releasei386/q2glx/ui_mp3.o: In function `Select_Track':
ui_mp3.c:(.text+0x1f): undefined reference to `MP3_PlayTrack'
collect2: ld returned 1 exit status
make[1]: *** [releasei386/aq2] Error 1
make[1]: Leaving directory `/home/gudmund/Games/quake2/aprq2_v1.211-src'
make: *** [release] Error 2

In the makefile i have tried to set compile XMMS to NO, but it still stops here, anyone know why?

It worked to compile version 1.19, but the sound is "hackhackhack" all the time on top of the aq2 sound. Tried different settings for sound in aprq2 but did not help.
Feel the power
Post Reply