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

Re: Suddenly I cannot compile anymore



On Thursday 14 April 2005 09:44 pm, Jean-Philippe THIERRY wrote:
> Selon Benedek Frank <linux@celifornia.com>:
> > Hi
> >
> > I have my Dell700m working for ages now, and I have had no problem since,
> > up until now. I am running Debian Sarge, always up to date, I do the
> > upgrades every day. Just today, I tried to compile a little Dockable WM
> > applications to show the CPU speed at all times, but it failed.How
> > strange I thought, so I tried to compile any other things, but they also
> > failed. I dont know what must have happened suddenly. Well, suddenly I am
> > not sure, I havent tried to compile in a while.
> >
> > I have gcc-3.3.5 currently, so I tried gcc-3.4 but no help. Still fails.
> > I then loaded back my original 2.6.8 kernel (I currently run 2.6.9) but
> > that one fails as well. Here is an example error I got, when I tried to
> > compile:
> >
> > dell700m:/home/ben/wmcpum.app-0.1.0/wmcpum# make
> > gcc -Wall   -c -o wmcpum.o wmcpum.c
> > wmcpum.c:25:22: X11/Xlib.h: No such file or directory
> > wmcpum.c:26:21: X11/xpm.h: No such file or directory
> > wmcpum.c:27:34: X11/extensions/shape.h: No such file or directory
> > In file included from wmcpum.c:29:
> > ../wmgeneral/wmgeneral.h:30: error: parse error before "Pixmap"
> > ../wmgeneral/wmgeneral.h:30: warning: no semicolon at end of struct or
> > union ../wmgeneral/wmgeneral.h:31: warning: type defaults to `int' in
> > declaration of`mask'
> > ../wmgeneral/wmgeneral.h:31: warning: data definition has no type or
> > storage class
> > ../wmgeneral/wmgeneral.h:32: error: parse error before "attributes"
> > ../wmgeneral/wmgeneral.h:32: warning: type defaults to `int' in
> > declaration of`attributes'
> > ../wmgeneral/wmgeneral.h:32: warning: data definition has no type or
> > storage class
> > ../wmgeneral/wmgeneral.h:33: warning: type defaults to `int' in
> > declaration of`XpmIcon'
> > ../wmgeneral/wmgeneral.h:33: warning: data definition has no type or
> > storage class
> > ../wmgeneral/wmgeneral.h:39: error: parse error before '*' token
> > ../wmgeneral/wmgeneral.h:39: warning: type defaults to `int' in
> > declaration of`display'
> > ../wmgeneral/wmgeneral.h:39: warning: data definition has no type or
> > storage class
> > wmcpum.c: In function `main':
> > wmcpum.c:159: error: `XEvent' undeclared (first use in this function)
> > wmcpum.c:159: error: (Each undeclared identifier is reported only once
> > wmcpum.c:159: error: for each function it appears in.)
> > wmcpum.c:159: error: parse error before "event"
> > wmcpum.c:197: warning: implicit declaration of function `XPending'
> > wmcpum.c:198: warning: implicit declaration of function `XNextEvent'
> > wmcpum.c:198: error: `event' undeclared (first use in this function)
> > wmcpum.c:200: error: `Expose' undeclared (first use in this function)
> > wmcpum.c:203: error: `DestroyNotify' undeclared (first use in this
> > function) wmcpum.c:204: warning: implicit declaration of function
> > `XCloseDisplay' make: *** [wmcpum.o] Error 1
> > dell700m:/home/ben/wmcpum.app-0.1.0/wmcpum#
> >
> > IS there anything obvious that I dont see? Please help it is very
> > frustrating.
> >
> > Thanks
> >
> > Bence
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
>
> Hi,
>
> Have you installed the libx11-dev package ? Without it, you won't have
> acces to the header files.
>
> Jean-Philippe

Hi

I have done it you said, plus installed libxpm-dev, and it works.

Thanks for pointing it out. I feel dumb.

Bence





>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org



Reply to: