[SunHELP] GCC Compilation error

Taren sunhelp at sunhelp.org
Tue Nov 28 14:42:19 CST 2000


You need to check all the Makefiles, as well as all the Makedef files, and
comment out any COPTS entry which has -Xa and/or -xspace in it.  Also, uncomment
the COPTS which have -O or -O2, and any line referencing gcc.

> 
> I've just downloaded pppd for Solaris 8 from
> http://playground.sun.com/ppp/
> 
> I'va changed the Makedefs file for in ./ppp-2.3.11/svr4
> for the use of gcc instead of cc`as explained in the README.
> 
> but I can get it to compile correctly
> cd chat; make all
> gcc -O2 -DNO_USLEEP -DSOL2 -c chat.c
> gcc -o chat chat.o
> cd pppd; make all
> gcc -I../include -DSVR4 -DSOL2 -O2 -xO2 -xspace -W0 -Lt -DPLUGIN -c
> main.c
> gcc: language space not recognized
> .... and so on for all the other file
> 
> I've wondered around the Makefiles.sol2 and Makedefs.sol2
> but I can't find something that would create this error
> ( I tried compiling without the -xspace switch (since error is space
> ....) but.. nothing )
> 
> anyone know what to do ??
> 
> Thanx to all of you ?
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Patrick Ouellet - Programmeur Snior
> patrick.ouellet at microtecsecurite.com
> Recherche & Devloppement
> Les Entreprise Microtec inc.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 




More information about the SunHELP mailing list