[Top][All Lists]

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

Re: from --with-package option

From: Matt Hull
Subject: Re: from --with-package option
Date: Wed, 4 Jan 2006 16:34:30 -0600 (CST)

thanks, i think i got that kinda working.

but now its compiling out of order.  i have src/main.c that calls the
gtkmain() in src/gtk-2.0/gtkmain.c   it tries to compile src/main.c first
and fails.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -Igtk-2.0     -c main.c
gcc    -o mine  main.o -L/usr/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-lXi -lXext -lX11 -lm
main.o: In function `main':
main.c:(.text+0x30): undefined reference to `main_gtk'

how can i fix this?  i thought that make did things in the right order ?



On Wed, 4 Jan 2006, Stepan Kasal wrote:

> Hello,
> On Wed, Jan 04, 2006 at 01:07:50AM -0600, Matt Hull wrote:
> > SUBDIRS = src cli-fe @GTK@
> use Automake conditionals:
> SUBDIRS = src cli-fe
>   SUBDIRS += gtk
> endif
> See the Automake manual for details.
> Have a nice day,
>       Stepan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]