Re: [gtk-list] compile problems
- From: Owen Taylor <owt1 cornell edu>
- To: "M. Rosencrantz" <mjrose u washington edu>
- Cc: gtk-list redhat com
- Subject: Re: [gtk-list] compile problems
- Date: 04 Aug 1997 00:59:03 -0400
The order you specify object files on the gcc command line is
significant. (The linker needs to know which functions it needs from a
library before it processes it.) If you reorder things to:
gcc -Wall -g helloworld.c -o hello_world -L/usr/X11R6/lib \
-lglib -lgdk -lgtk -lX11 -lXext -lm
I suspect it will work correctly.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]