Re: Need help getting a project to compile



I think by some mirile of fate I am making progress with out having to read a few hundred man pages. Some where on google I found a reference to these files

gtk-2.0.m4 gtkglext-1.0.m4 glib-2.0.m4 glib-gettext.m4 needing to be in /usr/share/aclocal/ and they weren't there so I copied them over. I was still getting errors on configure so I found a vague reference to running dos2unix on configure.in so I did and now configure finishes with out error. So what do you think the chances of make going with out a hitch? ZERO..... here is the output of make.....

I don't know if this matters but,

/home/administrator/data/code/GTK/TestProject1
and
/cygdrive/f/Data/code/GTK/TestProject1

are the same place via a symbolic link in the home directory.

$ make
cd . && /bin/bash /home/administrator/data/code/GTK/TestProject1/missing --run autoheader
touch ./config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/cygdrive/f/Data/code/GTK/TestProject1'
Making all in src
make[2]: Entering directory `/cygdrive/f/Data/code/GTK/TestProject1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/l ocale"\" -I/target/include/gtk-2.0 -I/target/lib/gtk-2.0/include -I/target/include/atk-1.0 -I/target/include/pango-1.0 - I/target/include/glib-2.0 -I/target/lib/glib-2.0/include -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
 -c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.c:10:21: gtk/gtk.h: No such file or directory
In file included from main.c:12:
interface.h:5: error: syntax error before '*' token
interface.h:5: warning: data definition has no type or storage class
In file included from main.c:13:
support.h:9:21: gtk/gtk.h: No such file or directory
In file included from main.c:13:
support.h:44: error: syntax error before '*' token
support.h:44: error: syntax error before '*' token
support.h:45: warning: data definition has no type or storage class
support.h:49: error: syntax error before '*' token
support.h:57: error: syntax error before '*' token
support.h:57: error: syntax error before '*' token
support.h:58: warning: data definition has no type or storage class
support.h:61: error: syntax error before '*' token
support.h:61: error: syntax error before '*' token
support.h:61: warning: data definition has no type or storage class
support.h:64: error: syntax error before '*' token
main.c: In function `main':
main.c:18: error: `GtkWidget' undeclared (first use in this function)
main.c:18: error: (Each undeclared identifier is reported only once
main.c:18: error: for each function it appears in.)
main.c:18: error: `window1' undeclared (first use in this function)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/cygdrive/f/Data/code/GTK/TestProject1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/f/Data/code/GTK/TestProject1'
make: *** [all] Error 2

--
Chris W

Bring Back the HP 15C
http://hp15c.org

Not getting the gifts you want?  The Wish Zone can help.
http://thewishzone.com





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