I'm trying to get maxdb-76 to compile on Solaris/x86 but the compile is
throwing errors:
!irconf -r -p $INSTROOT > /dev/null
!$TOOLSHELL -S ifaconf.pl $INSTRUNTIME
/home/sapdb/maxdb-76/usr/runtime/7600 -> 7.6.0.0,/home/sapdb/maxdb-76/us\
r registered.
MemDbg_Config.cpp fast
"/home/sapdb/maxdb-76/sys/wrk/incl/SAPDB/MemoryDebugger/MemDbg_Header.hp\
p", line 51: Error: MemDbg_Header::enum is not within the range of a lon\
g or unsigned long.
1 Error(s) detected.
Error while executing "CC -DREL30 -DSVR4 -DI386 -DSAG -I/home/sapdb/max\
db-76/usr/incl -I/home/sapdb/maxdb-76/sys/wrk/incl -I/home/sapdb/maxdb-7\
6/sys/wrk/incl/SAPDB -D_SVID -DSAPonSUN -DSOLARIS7 -KPIC -DMEMDBG_IMPLEM\
ENTATION -DSAPDB_FAST -mt -xO4 -I/home/sapdb/TOOLSRC/incl -instances=sta\
tic -c MemDbg_Config.cpp"
message:
COMMAND error 1
MemDbg_Interface.cpp fast
"/home/sapdb/maxdb-76/sys/wrk/incl/SAPDB/MemoryDebugger/MemDbg_Header.hp\
p", line 51: Error: MemDbg_Header::enum is not within the range of a lon\
g or unsigned long.
"MemDbg_Interface.cpp", line 499: Warning: Shift count is too large.
"MemDbg_Interface.cpp", line 637: Warning: Shift count is too large.
"MemDbg_Interface.cpp", line 687: Warning: Shift count is too large.
"MemDbg_Interface.cpp", line 1048: Warning: Shift count is too large.
"MemDbg_Interface.cpp", line 1066: Warning: Shift count is too large.
1 Error(s) and 5 Warning(s) detected.
Error while executing "CC -DREL30 -DSVR4 -DI386 -DSAG -I/home/sapdb/max\
db-76/usr/incl -I/home/sapdb/maxdb-76/sys/wrk/incl -I/home/sapdb/maxdb-7\
6/sys/wrk/incl/SAPDB -D_SVID -DSAPonSUN -DSOLARIS7 -KPIC -DMEMDBG_IMPLEM\
ENTATION -DSAPDB_FAST -mt -xO4 -I/home/sapdb/TOOLSRC/incl -instances=sta\
tic -c MemDbg_Interface.cpp"
message:
COMMAND error 1
'libmemdbg.dld' not made because of dependency errors
'libomssimul.dld' not made because of dependency errors
'libomssimul.mac' not made because of dependency errors
The offending lines are
35 class MemDbg_Header {
36 public:
37 enum {
38 SIZE_BITS = 14, ///< Bits/small size in
block.
39 MAX_SIZE = (1 << SIZE_BITS) - 1, ///< Maximum small size.
40 BLKSIZE_SHIFT = 23, ///< Bits used by trace
ID.
41 SIZE_OVERFLOW = SIZE_BITS - (32 - BLKSIZE_SHIFT),///< Size bits
in 2nd word.
42 FLAG_SHIFT = BLKSIZE_SHIFT + SIZE_OVERFLOW,///< Flag shift.
43 TRACE_MASK = (1<<BLKSIZE_SHIFT) - 1, ///< Mask for stack
traces.
44 FLAG_MASK = -1 << FLAG_SHIFT, ///< Mask for flags.
45 NOLEAK = TRACE_MASK, ///< Special trace ID
for no-leak blocks.
46
47 FLAG_DBKP = (1 << FLAG_SHIFT), ///< Doublekeeping flag.
48 FLAG_FENCE = (1 << (FLAG_SHIFT + 1)),///< Post-fence flag.
49 FLAG_FREECHK = (1 << (FLAG_SHIFT + 2)),///< Free check.
50 FLAG_QUICKCHK = (1UL << (FLAG_SHIFT + 3)) ///< Quick free check
(2nd and 3rd word).
51 };
52
[EMAIL PROTECTED] ~/maxdb-76/sys/src/SAPDB/MemoryDebugger>CC -V
CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111686-20 2004/03/19
[EMAIL PROTECTED] ~/maxdb-76/sys/src/SAPDB/MemoryDebugger>uname -a
SunOS sapdb 5.8 Generic_117351-02 i86pc i386 i86pc
Is this a compiler problem?
Unfortunately my SPARC box is currently broken so I can't check against
that.
Regards,
SIEGENIA-AUBI KG
Informationswesen
i.A.
Markus D�hr
SAP-CC/BC, SAPDB-DBA
Tel.: +49 6503 917-152
Fax: +49 6503 917-7152
E-Mail: [EMAIL PROTECTED]
Internet: http://www.siegenia-aubi.com
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]