l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Mar 09 15:29

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox] Errors in software compilation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox] Errors in software compilation

Hi everyone,

I am using a software package called GDAL here at work, and it compiles fine 
on my Debian Sarge box... However, the *same* source tree fails to compile on 
a similar machine running Slackware...

As far as I can tell the configure stage of the compilation works fine, but 
when i call make;

---------------------------error messages--------------------------------
dylan@atmweb:~/src/gdal-1.2.5$ make
(cd port; make)
make[1]: Entering directory `/home/dylan/src/gdal-1.2.5/port'
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/home/dylan/src/gdal-1.2.5/port'
(cd gcore; make)
make[1]: Entering directory `/home/dylan/src/gdal-1.2.5/gcore'
g++     -c -o gdalopen.o gdalopen.cpp
In file included from gdal_priv.h:190,
                 from gdalopen.cpp:94:
gdal.h:177:22: cpl_port.h: No such file or directory
gdal.h:178:23: cpl_error.h: No such file or directory
In file included from gdal_priv.h:190,
                 from gdalopen.cpp:94:
gdal.h:200: syntax error before `typedef'
[more and more and more syntax errors]

it looks like it is breaking after not being able to find two files:

dylan@atmweb:~/src/gdal-1.2.5$ locate cpl_port
dylan@atmweb:~/src/gdal-1.2.5$ locate cpl_error.

...would suggest that these files do in fact exist... 

is there something wrong with the include path, or the way in which GCC on 
this machine is looking for header files?

thanks in advance!

Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
vox mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.