When I complile I get some nasty errors…
load.o(.text+0x142): undefined reference to ‘dlopen’
plus 5 or 6 more similar to it, but with different references… This is a
Linux system
I apologize ahead of time if Im missing something obvious here…
When I complile I get some nasty errors…
load.o(.text+0x142): undefined reference to ‘dlopen’
plus 5 or 6 more similar to it, but with different references… This is a
Linux system
I apologize ahead of time if Im missing something obvious here…
When I complile I get some nasty errors…
load.o(.text+0x142): undefined reference to ‘dlopen’
plus 5 or 6 more similar to it, but with different references… This is a
Linux system
I apologize ahead of time if Im missing something obvious here…
Link with -ldl
-Sam Lantinga (slouken at devolution.com)
Hmmm, no dice…
Heres my command line:
gcc -lSDL -ldl -O2 bleh.c
but for some odd reason I get undefined references to SDL functions…
didnt do that yesterday;)
At 11:06 PM 4/9/99 -0700, Sam Lantinga wrote:>> When I complile I get some nasty errors…
load.o(.text+0x142): undefined reference to ‘dlopen’
plus 5 or 6 more similar to it, but with different references… This is a
Linux systemI apologize ahead of time if Im missing something obvious here…
Link with -ldl
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/
Hmmm, no dice…
Heres my command line:
gcc -lSDL -ldl -O2 bleh.c
Try this:
gcc bleh.c -lSDL -ldl -lpthread -O2
The order of libraries is important.
Watch the link line when you do “make” in the test subdirectory
See ya!
-Sam Lantinga (slouken at devolution.com)
YAY! Thanks Sam!
At 01:44 PM 4/10/99 -0700, you wrote:>> Hmmm, no dice…
Heres my command line:
gcc -lSDL -ldl -O2 bleh.c
Try this:
gcc bleh.c -lSDL -ldl -lpthread -O2
The order of libraries is important.
Watch the link line when you do “make” in the test subdirectorySee ya!
-Sam Lantinga (slouken at devolution.com)Lead Programmer, Loki Entertainment Software
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/