This is a discussion on compilation problem on old slackware 7.1 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Dear all, I have an old system running slackware 7.1, with security fixes and various upgrades, but still 7.1 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Dear all, I have an old system running slackware 7.1, with security fixes and various upgrades, but still 7.1 at its core. I have run into a compliation problem installing Sablot-1.0.2, although the problem actually seems to lie more with the (ancient) C/C++ compiler, egcs-2.91.66. The Sablot configure script checks for expat, of which I have the latest version, expat-1.95.8, correctly installed. However, the configure script uses g++ (rather than gcc) to compile the test program, which results in errors of the form: /usr/local/include/expat.h:142: parse error before `__attribute__' /usr/local/include/expat.h:148: type specifier omitted for parameter /usr/local/include/expat.h:148: parse error before `)' (many of them, always same form) These problems disapper if I invoke the compiler as gcc, on the same test program... I have tried to wrap the #include <expath.h> into an extern "C" {} block without results. I have tried to simply comment out the test but Sablot is a C++ library and actually uses g++ in its comilation... I am reluctant to make any major upgrades (like C compielr and libraries) at the moment, partly because I am 2500 km from that machine and partly because I am not very familiar with the process, and I suspect that it is a lot of work to bring a while system from egcs-2.91.66 to current gcc/g++. Any help is appreciated! Stefano -- Stefano | Department of Psychology, University of Bologna Ghirlanda | Interdisciplinary cultural research, Stockholm University http://www.intercult.su.se/~stefano |
| ||||
| Stefano Ghirlanda <stefano.ghirlanda@unibo.it> wrote: > I am reluctant to make any major upgrades (like C compielr and > libraries) at the moment, partly because I am 2500 km from that > machine and partly because I am not very familiar with the process, > and I suspect that it is a lot of work to bring a while system from > egcs-2.91.66 to current gcc/g++. How about compiling locally, and make a Slackware "tgz" package out of it. Then, install to remote machine. -- William Park <opengeometry@yahoo.ca>, Toronto, Canada ThinFlash: Linux thin-client on USB key (flash) drive http://home.eol.ca/~parkw/thinflash.html BashDiff: Super Bash shell http://freshmeat.net/projects/bashdiff/ |