> cpcreg.c:0: malformed option `-D -DSAG'
> Error while executing "cc -DREL30 -DLINUX -D -DSAG 
> -I/tmp/sapdb_tools/s\

It seems as if the variable $MACH is set to the empty string. The script
compc.pl sets the CFLAGS 

push @CCFLAGS, "-D$SQLVERSION",  "-D$OSSPEC", "-D$MACH", "-DSAG";

The value of $MACH should be deduced by configure.ac (search for $host_cpu,
this sets the configure variable sapdb_mach) and should be expanded in
basescripts.mk.in (MACH=@sapdb_mach@). I can't quite understand why it is
empty, from configure.ac, I would expect it to be AUTO_MACH if none of the
case clauses has an effect.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org/
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to