multiple definition error

wezy726 wezy726@email.msn.com
Sat Mar 10 12:49:00 GMT 2001


Try configuring gcc with an environment variable 
"CPPFLAGS" equal to '-Dre_max_failures=re_max_failures2'.
This stopped several of the packages I am building 
from giving a similar error, although I don't remember gcc being one of 
them.
 
To set CPPFLAGS in bash / sh:
 
set CPPFLAGS='stuff up there'  ;
configure ...  ;
unset CPPFLAGS   ;
make ...   ;
 
If you're using tcsh / csh use `setenv` and 
`unsetenv` for `set` and `unset,` respectively.
 
It is also possible to define the environment 
(CPPFLAGS) prior to the command on the same line in most shells.
 
i.e. CPPFLAGS='stuff' configure ...  
;
 
I hope this helps.



More information about the Gcc-help mailing list