From: Christian R. <ch...@nn...> - 2002-09-09 21:38:23
|
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 ] |
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 ] |
From: Michael R. <re...@eu...> - 2002-09-10 04:39:42
|
Hi David, > 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. What exactly are the problems you're facing with msr.h? I have seen some problems out there, I suppose they come from the fact that some linux distributions deliver a wrong msr.h. msr.h is included because I need the 'rdstcl()' symbol within udelay.c bye, Michael -- netWorks Vox: +43 316 698260 Michael Reinelt Fax: +43 316 692343 Geisslergasse 4 GSM: +43 676 3079941 A-8045 Graz, Austria e-mail: re...@eu... |
From: Michael R. <re...@eu...> - 2002-09-10 04:36:23
|
Hi Chris, > Raster.c:127: #error "gd.h not found!" > make: *** [Raster.o] Error 1 Did you run 'configure' again after installing libgd? Maybe you'll have to remove 'config.cache' before. The current version of Raster.c emits a little error message about how to solve this problem.... bye, Michael -- netWorks Vox: +43 316 698260 Michael Reinelt Fax: +43 316 692343 Geisslergasse 4 GSM: +43 676 3079941 A-8045 Graz, Austria e-mail: re...@eu... |