# Libaa and static compilation bug

**URL:** <https://discourse.libsdl.org/t/libaa-and-static-compilation-bug/9940>\
**Category:** SDL Development\
**Created:** [January 4, 2004, 5:52pm UTC](https://discourse.libsdl.org/t/libaa-and-static-compilation-bug/9940 "2004-01-04T17:52:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvain\_Beucler](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/s/76d3ee/32.png) [@Sylvain\_Beucler](https://discourse.libsdl.org/u/Sylvain_Beucler)\
**Post date:** [January 4, 2004, 5:52pm UTC](https://discourse.libsdl.org/t/libaa-and-static-compilation-bug/9940/1 "2004-01-04T17:52:15Z")

</div>

Hello,

I compiled libSDL-1.2.6 from sources with libaa enabled under GNU. When  
I tried to statically compile a sample program, g++ lacked 3 libraries,  
and I had to add them:  
g++ -static test.cpp `sdl-config --cflags` `sdl-config --static-libs`  
-lX11 -lgpm -lslang

Attached is the sample program.

I unfortunately do not know autoconf well enough to do the change  
myself in sdl-config.–  
Sylvain  
PS: is there a dedicated bug submission form? I sent that mail with the  
"Feedback" link from [libsdl.org](http://libsdl.org), but got no reply 😕  
-------------- next part --------------  
A non-text attachment was scrubbed…  
Name: test.cpp  
Type: text/x-c++  
Size: 788 bytes  
Desc: not available  
URL: [http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040104/9f05fe8d/attachment.bin](http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20040104/9f05fe8d/attachment.bin)
