Newbie Build Problems

Hi,

I have downloaded SDL 1.2.2 and managed to configure;make;make install
everything but I cannot build anything in the test directory.

I have attached a log file containing all of the things recommended in the
FAQ (versions, status, etc.) I enter the test directory, run configure;make
and make throws about 300 errors - all of them something like this:

/usr/lib/libSDL.a(SDL_dgaevents.lo):In function ‘DGA_DispatchEvent’:
/home/rico/SDL-1.2.2src/video/dga/SDL-dgaevents.c:85:undefined reference to
’XDGAKeyToXKeyEvent’

collect 2:ld returned 1 exit status

Does anyone have any advice for me?
It seems that almost every call made in libSDL.a contains an undefined
reference to something or other. Is this normal?

Thanks,

Richard.

Hi,

I have downloaded SDL 1.2.2 and managed to configure;make;make install
everything but I cannot build anything in the test directory.

I have attached a log file containing all of the things recommended in the
FAQ (versions, status, etc.) I enter the test directory, run configure;make
and make throws about 300 errors - all of them something like this:

/usr/lib/libSDL.a(SDL_dgaevents.lo):In function ‘DGA_DispatchEvent’:
/home/rico/SDL-1.2.2src/video/dga/SDL-dgaevents.c:85:undefined reference to
’XDGAKeyToXKeyEvent’

collect 2:ld returned 1 exit status

Does anyone have any advice for me?
It seems that almost every call made in libSDL.a contains an undefined
reference to something or other. Is this normal?

Thanks,

Richard.
-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl-error
Type: application/octet-stream
Size: 1213 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010930/9afbf518/attachment-0007.obj

Does anyone have any advice for me?
It seems that almost every call made in libSDL.a contains an undefined
reference to something or other. Is this normal?

Rebuild the SDL library, but when you configure it, do so like this:

./configure --disable-video-dga

You might have to disable other SDL drivers if the support is missing on
your system.

–ryan.