Ben Gertzfield wrote:
> I cannot get alpha 3 to compile.
> 
> (snip)
> 
> gcc -g -Wall -Werror -I/home/che/src/gdselect/gdselect-a3/include 
> -I/usr/X11R6/include -I/usr/lib/glib/include  -c util.c -o util.o
> gcc -g -Wall -Werror -I/home/che/src/gdselect/gdselect-a3/include 
> -I/usr/X11R6/include -I/usr/lib/glib/include  -c deps.c -o deps.o
> In file included from deps.c:10:
> /home/che/src/gdselect/gdselect-a3/include/dpkg-db.h:164: parse error before 
> `FILE'
> /home/che/src/gdselect/gdselect-a3/include/dpkg-db.h:165: parse error before 
> `FILE'
> make[1]: *** [deps.o] Error 1
> make[1]: Leaving directory `/home/che/src/gdselect/gdselect-a3/gtk'
> make: *** [all-subdirs] Error 2
> 
> I have GTK+ 1.1 and GLib 1.1 and their -devs installed. This
> is with GCC 2.7.2.3.

Fixed by moving "#include <stdio.h>" five lines up.  I fixed it but
forget about it, since it was *that* easy.  Not even worth mentioning.

Regards,

        Joey

-- 
Experience is a useful thing.  Unfortunately it is only acquired
just after one could have used it.

Reply via email to