HELP : can't compile anymore



I recently had problem with my file system and had to reinstall linux.

Now I can't compile gtk applications anymore, here is the output when I
try to compile scribble_simple (the exemple in the tutorial)

[root@pcpl55 spline]# compile scribble
In file included from /usr/include/posix1_lim.h:92,
                 from /usr/include/limits.h:27,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/limits.h:112,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/limits.h:11,
                 from /usr/include/glib.h:65,
                 from /usr/include/gdk/gdktypes.h:24,
                 from /usr/include/gdk/gdk.h:22,
                 from /usr/include/gtk/gtk.h:22,
                 from scribble.cpp:19:
/usr/include/local_lim.h:21: linux/limits.h: No such file or directory
[root@pcpl55 spline]# 


I can still execute programs that I had compiled before (but
scribbe_simple is not working properly)

I use 
glibc-2.0.7-7 (with devel)
gcc-2.7.2.3-9
gtk+-0.99.3-1 (with devel)

My compile command is :
gcc -Wall -g $1'.cpp' -o $1 -L/usr/X11R6/lib -I/usr/X11R6/include -lglib
-lgdk -lgtk -lX11 -lXext -lm


If I install gtk+-1.0.0-1 I still can execute applications (scribble works
normally) but I get this message when I compile:


[root@pcpl55 test]# compile scribble
In file included from /usr/include/gdk/gdktypes.h:25,
                 from /usr/include/gdk/gdk.h:23,
                 from /usr/include/gtk/gtk.h:23,
                 from scribble.cpp:19:
/usr/include/glib.h:22: glibconfig.h: No such file or directory
[root@pcpl55 test]#




-------------------------------------------------------
 Ryo | Pierre Loubigniac
 P.Loubigniac@bton.ac.uk
 http://ituser.it.bton.ac.uk/student/pl55/public_html/
 http://pcpl55.it.bton.ac.uk/~pl55/ (sometime)
-------------------------------------------------------




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