Re: Compiling on FC5
Brought to you by:
matthiasgrimm
From: Kristian B. <kb...@op...> - 2006-05-18 15:26:10
|
On Wed, 2006-05-17 at 14:20 -0300, Doug McComber wrote: > On 5/17/06, Kristian Benoit <kb...@op...> wrote: > > It seems like to dont have the kernel headers installed in /usr/include. > > There must be a package named something like kernel-header. > > > > Kristian > > > > On Mon, 2006-05-15 at 11:53 -0300, Doug McComber wrote: > > > Hi, > > > > > > I'm trying to compile v0.7.5 on Fedora Core 5 (kernel 2.6.16-1.2111) > > > and I'm getting an error as follows: > > > > > > module_display.c:30:28: error: linux/radeonfb.h: No such file or directory > > > module_display.c: In function 'display_switchmirror': > > > module_display.c:798: error: 'FBIO_RADEON_GET_MIRROR' undeclared > > > (first use in this function) > > > module_display.c:798: error: (Each undeclared identifier is reported only once > > > module_display.c:798: error: for each function it appears in.) > > > module_display.c:799: error: 'ATY_RADEON_CRT_ON' undeclared (first use > > > in this function) > > > module_display.c:800: error: 'FBIO_RADEON_SET_MIRROR' undeclared > > > (first use in this function) > > > make[2]: *** [module_display.o] Error 1 > > > make[2]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5/src' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/home/doug/sources/pbbuttonsd-0.7.5' > > > make: *** [all] Error 2 > > > > > > > > > I have the kernel-devel rpm installed and radeonfb.h is located: > > > > > > /usr/src/kernels/2.6.16-1.2111_FC5-ppc/include/linux/radeonfb.h > > > > > > Any ideas? > > > > > > Regards, > > > Doug > > > > > > > > > ------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > > > pbbuttons-users mailing list > > > pbb...@li... > > > https://lists.sourceforge.net/lists/listinfo/pbbuttons-users > > > > > > > > I solved the error by with: > > CFLAGS=-I/usr/src/linux/include ./configure > > but now get this error: > > /usr/src/linux/include/linux/input.h:801: error: expected > specifier-qualifier-list before 'kernel_ulong_t' > > Regards, > Doug When compiling a usermode program, you must use the kernel header the glibc is compiled against (those installed in /usr/include/linux) or you might have problems. But you choose to switch to another distribution which is, in my opinion, the best choice you could make. Kristian |