[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hello world demo with gtk condition
From: |
Matt Hull |
Subject: |
Re: hello world demo with gtk condition |
Date: |
Wed, 11 Jan 2006 13:20:51 -0600 (CST) |
On Wed, 11 Jan 2006, Stepan Kasal wrote:
> Hello,
>
> this sounds very well:
>
> On Wed, Jan 11, 2006 at 10:28:40AM -0600, Matt Hull wrote:
> > address@hidden ~/mine-0.0.9 $ aclocal-1.8 -I aclocal && autoheader &&
> > autoconf && automake-1.8 && ./configure && make
> > /usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of
> > AM_PATH_SIGC
> > run info '(automake)Extending aclocal'
> > or see
> > http://sources.redhat.com/automake/automake.html#Extending%20aclocal
> > /usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF
> > /usr/share/aclocal/libglade.m4:7: warning: underquoted definition of
> > AM_PATH_LIBGLADE
> > /usr/share/aclocal/gtk--.m4:10: warning: underquoted definition of
> > AM_PATH_GTKMM
> > /usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of
> > AM_PATH_GCONF
> > /usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of
> > AM_GCONF_SOURCE
> > /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
>
> you can safely ignore these warnings. See the URL from the msg for more.
>
> > makefile.am: required file `./compile' not found
> > makefile.am: required file `./depcomp' not found
>
> Run automake --add-missing to install these two files.
>
> Does it work then?
>
> Have a nice day,
> Stepan
>
wow, both automake and autoconf emails are slow, and one is hours..... ( i
get a copy of what i send.. not the reply time)
anyway......
thanks for the reply
aclocal-1.8 failed
/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in
AM_CONDITIONAL
aclocal-1.6 --add-missing worked
then i tried make
address@hidden ~/mine-0.0.9 $ make
make all-recursive
make[1]: Entering directory `/home/matt/mine-0.0.9'
make[2]: Entering directory `/home/matt/mine-0.0.9'
gcc -g -O2 -o mine src/main.o
src/main.o: In function `main':
src/main.c:20: undefined reference to `gtk1'
collect2: ld returned 1 exit status
make[2]: *** [mine] Error 1
make[2]: Leaving directory `/home/matt/mine-0.0.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/mine-0.0.9'
make: *** [all] Error 2
but it did create the object files, just failed to link. so i tried....
address@hidden ~/mine-0.0.9 $ gcc -o mine src/gtk1/gtk1.o src/main.o
`gtk-config --libs`
then it worke fine.
thanks
matt