From: Shanker B. <sh...@ex...> - 2001-03-15 13:42:52
|
Hello: Jules Bean wrote, > Weird. Sounds like you have a library incompatibility problem: more > than one version of libc on your system, maybe? I dont think so, i just did a -Uvh on glibc-* the other day. > > What am i missing to include? > > That's a linker error, #includes aren't the problem. > > Add -lm to the command line (to link in the math library) That shortened it out a bit. :) [root@godzilla /root]# cc gears.c -I/usr/include -L/usr/lib -L/usr/X11R6/lib -lglut -lGLU -lGL -lm -o gears /usr/lib/libGL.so: undefined reference to `dlclose' collect2: ld returned 1 exit status -- Shanu I'm a Hollywood writer; so I put on a sports jacket and take off my brain. |