Re: [gtk-list] Re: Compiling options



> From: "Michael J. Hammel" <mjhammel@graphics-muse.org>
> Date: Mon, 7 Jun 1999 14:29:28 -0600 (MDT)
> 
> Thus spoke Scott Nichols
> > "Scott A. Barron" wrote:
> > I tried that.... I got compiler errors on every reference to gtk_* or
> > gdk_*
> 
> Using -static is the correct method.  If you got compiler errors then the
> problem is how you built your Makefile, probably in how you reference the
> libraries.
> -- 
> Michael J. Hammel           |
> The Graphics Muse           | Tell me what you need, and I'll tell you how to
> mjhammel@graphics-muse.org  | get along without it. -- Dilbert
> http://www.graphics-muse.org

Or possibly, but unlikely (since the default is to make both static
and shared libraries), you only have shared versions of the gdk/gtk
libraries.  If you look where your gdk/gtk libraries are (the default
for .tar.gz installs is /usr/local/lib), do you find ones with a .a
extension?

Dave



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]