stddef.h:170: syntax error before `typedef'
- From: Jonas De Vuyst <jdv foobar be>
- To: gtk-app-devel-list gnome org
- Subject: stddef.h:170: syntax error before `typedef'
- Date: 12 Aug 2001 15:02:46 +0200
Hello,
I'm having trouble compiling a (currently) hello world program.
Including libgnomeui/gnome-init.h seems to be what stops it from
compiling.
To compile I'm using the command:
gcc `gtk-config --libs` `gtk-config --cflags` -o test test-app.c
main.c
With `gtk-config --libs` resolving to:
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXi -lXext -lX11 -lm
and `gtk-config --cflags` resolving to:
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include
The error I get is:
In file included from /usr/include/stdio.h:33,
from /usr/include/popt-gnome.h:12,
from /usr/include/libgnome/gnome-popt.h:10,
from /usr/include/libgnomeui/gnome-init.h:6,
from main.c:1:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:170: syntax
error before `typedef'
make: *** [all] Error 1
I'm running Debian Woody and have no problems compiling other Gnome
software. I tried uninstalling/reinstalling gcc-2.95 but that didn't
help. A quick search on google showed me others have had the same
problem before me but I didn't find a solution.
Any hint will be greatly appreciated.
Kind regards,
Jonas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]