Compile in Debian Sarge

Miscellaneous Forums/Linux Discussion/Compile in Debian Sarge

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I get the following errors while trying to compile even the simplest program:

Building untitled1
Compiling:untitled1.bmx
flat assembler version 1.52
3 passes, 2457 bytes.
Linking:untitled1.debug
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x5d): In function `bglDeleteContext':
: undefined reference to `XF86VidModeSetViewPort'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x75): In function `bglDeleteContext':
: undefined reference to `XF86VidModeSwitchToMode'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x19e): In function `bglDisplayModes':
: undefined reference to `XF86VidModeGetAllModeLines'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x267): In function `createFullscreenContext':
: undefined reference to `XF86VidModeQueryVersion'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x284): In function `createFullscreenContext':
: undefined reference to `XF86VidModeGetAllModeLines'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x3a4): In function `createFullscreenContext':
: undefined reference to `XF86VidModeSwitchToMode'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x3b9): In function `createFullscreenContext':
: undefined reference to `XF86VidModeSetViewPort'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x590): In function `createWindowedContext':
: undefined reference to `XF86VidModeQueryVersion'
/home/massimo/blitzmax/BlitzMax110/mod/brl.mod/blitzgl.mod/blitzgl.debug.linux.a(blitzgl.linux.c.debug.linux.o)(.text+0x5f4): In function `createWindowedContext':
: undefined reference to `XF86VidModeSetViewPort'
collect2: ld returned 1 exit status

Process complete

The following libraries are installed:

libsdl1.2
xlibmesa-gl-dev
xlibmesa-glu-dev
xlibs-static-dev (which includes libXxf86vm)

and OpenGL is working (tuxracer runs fine ;)

...what else I'm missing?