From: David J. <ju...@di...> - 2002-09-09 21:47:45
|
Christian, I have a very similar problem with the msr.h file when compiling for use = with Crystalfontz displays. My guess is that there is a data type = mismatch or other anomaly in either the Raster.c or XWindow.c file that = I am using. I have some notes from my experiences that I have posted = below, maybe it will send you in the right direction. Cheers, Dave ---From my notes--- First, the configure process doesn't find the msr.h file, even if I = specify a=20 path to look in so: =20 cp /usr/i386-glibc21-linux/include/asm/msr.h /usr/include/asm/ =20 then while still in the lcd4linux-0.98 directory: =20 sed 's/usleep(350000)/sleep(5)/g' Crystalfontz.c >> Crystalfontz.d rm -f Crystalfontz.c mv Crystalfontz.d Crystalfontz.c =20 #Thanks to Herbert Rosmanith for the above fix =20 ./configure make make install =20 cp lcd4linux.conf.sample /etc/lcd4linux.conf chmod 600 /etc/lcd4linux.conf # = Extremely important!!! chown root:root /etc/lcd4linux.conf ----- Original Message -----=20 From: Christian Reelfs=20 To: lcd...@li...=20 Sent: Monday, September 09, 2002 3:39 PM Subject: [lcd4linux] gd.h not found Hi I have a problem. I want to compile lcd4linux ver. 0.98 at first I exec ./configure it seems all to be good at the next I start ./make ... gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -D_GNU_SOURCE = -Wall -g -O2 -c XWindow.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include -D_GNU_SOURCE = -Wall -g -O2 -c Raster.c Raster.c:127: #error "gd.h not found!" make: *** [Raster.o] Error 1 gd.h not found.. so I start to install the gd lib's -> gd-1.8.4 after that... locate gd.h /usr/include/gd.h /usr/local/bin/gd.h /usr/local/include/gd.h /usr/local/lib/gd.h /usr/X11R6/include/gd.h ok now the same thing again.. Raster.c:127: #error "gd.h not found!" make: *** [Raster.o] Error 1 does someone know the problem - a resolution? Thx a lot cya chris[nnGa] ______________________________________________________ Christian Reelfs - chris[nnga] - Netzwerk, Server - Northern Network Gamer Association [N.N.G.A] IRC: irc.Quakenet.eu.org #nnga | ICQ: 85564186 [ www.nnga.de ] | [ www.nfrag.de ] | [ 62.146.212.18 ] |