[Solaris/x86] - AK layer - compilation problems

"Döhr, Markus IDV" <[email protected]> Thu, 8 May 2003 16:26:40 +0200
Newsgroups gmane.comp.db.sapdb.sources
Message-ID <220DA83AFDFED6119BB0000802249E42015E8D0E@si-ntmail.siegenia-aubi.com>
Hi all,

I have nearly completed the Solaris/x86 build and have only "a few"
remaining problems that I can't solve myself...

1. vak10
vak10     fast
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
cc: Warning: using -Xt, ignoring all other -X options
"vak10.c", line 5214: warning: argument mismatch
"vak10.c", line 5214: syntax error before or at: (
"vak10.c", line 5214: function cannot return function or array
"vak10.c", line 5214: identifier redeclared: tsp00_BufAddr
        current : function() returning int
        previous: pointer to array[8192] of unsigned char : "vak10.c", line
11\
4
"vak10.c", line 5214: warning: syntax error:  empty declaration
"vak10.c", line 5660: cannot recover from previous errors
cc: acomp failed for vak10.c
Error while executing "cc -DREL30 -DSVR4 -DI386 -DSAG -D_FILE_OFFSET_BI\
TS=64 -I/home/doehrm/sapdb/sapdb-74/usr/incl -I/home/doehrm/sapdb/sapdb-\
74/sys/wrk/incl -I/home/doehrm/sapdb/sapdb-74/sys/wrk/incl/SAPDB -Xa -D_\
SVID -KPIC -DSAPDB_FAST -mt -xO4 -I/home/doehrm/sapdb/TOOLSRC/incl -Xt -\
xCC -c vak10.c"
message:
COMMAND error 2
'ak1lib.lib' not made because of dependency errors


These are lines 212 - 216 of the generated vak10.c:

int s30lnr();
int s30unilnr();
tsp00_BufAddr s35add_bufaddr();
int vbegexcl();
int vendexcl();


2. vak620
vak260    fast
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
cc: Warning: using -Xt, ignoring all other -X options
"vak260.c", line 5286: warning: argument mismatch
"vak260.c", line 5286: syntax error before or at: (
"vak260.c", line 5286: function cannot return function or array
"vak260.c", line 5286: identifier redeclared: tgg00_StEntryAddr
        current : function() returning int
        previous: pointer to struct ptoc_Type41 {union  {..} integer} :
"vak26\
0.c", line 1291
"vak260.c", line 5286: warning: syntax error:  empty declaration
"vak260.c", line 5577: cannot recover from previous errors
cc: acomp failed for vak260.c
Error while executing "cc -DREL30 -DSVR4 -DI386 -DSAG -D_FILE_OFFSET_BI\
TS=64 -I/home/doehrm/sapdb/sapdb-74/usr/incl -I/home/doehrm/sapdb/sapdb-\
74/sys/wrk/incl -I/home/doehrm/sapdb/sapdb-74/sys/wrk/incl/SAPDB -Xa -D_\
SVID -KPIC -DSAPDB_FAST -mt -xO4 -I/home/doehrm/sapdb/TOOLSRC/incl -Xt -\
xCC -c vak260.c"
message:

This looks like the same error:

Vak260.c:

int s10fil1();
int s20sw_int4();
tgg00_StEntryAddr s35inc_st();
int s40gsint();
int s40gsuns();



3. vak262
vak262    fast
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
cc: Warning: using -Xt, ignoring all other -X options
"vak262.c", line 5492: warning: argument mismatch
"vak262.c", line 5492: syntax error before or at: (
"vak262.c", line 5492: function cannot return function or array
"vak262.c", line 5492: identifier redeclared: tgg00_StEntryAddr
        current : function() returning int
        previous: pointer to struct ptoc_Type41 {union  {..} integer} :
"vak26\
2.c", line 1300
"vak262.c", line 5492: warning: syntax error:  empty declaration
"vak262.c", line 5756: warning: argument #2 is incompatible with protot\
ype:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 295
        argument : pointer to unsigned char
"vak262.c", line 5756: warning: argument #3 is incompatible with protot\
ype:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 295
        argument : pointer to unsigned char
"vak262.c", line 5787: warning: argument #2 is incompatible with protot\
ype:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 295
        argument : pointer to unsigned char
"vak262.c", line 5787: warning: argument #3 is incompatible with protot\
ype:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 295
        argument : pointer to unsigned char
"vak262.c", line 5919: cannot recover from previous errors
cc: acomp failed for vak262.c
Error while executing "cc -DREL30 -DSVR4 -DI386 -DSAG -D_FILE_OFFSET_BI\
TS=64 -I/home/doehrm/sapdb/sapdb-74/usr/incl -I/home/doehrm/sapdb/sapdb-\
74/sys/wrk/incl -I/home/doehrm/sapdb/sapdb-74/sys/wrk/incl/SAPDB -Xa -D_\
SVID -KPIC -DSAPDB_FAST -mt -xO4 -I/home/doehrm/sapdb/TOOLSRC/incl -Xt -\
xCC -c vak262.c"
message:
COMMAND error 2

Vak262.c:

int s10mv3();
int s10mv4();
tgg00_StEntryAddr s35inc_st();
int s26init_cmd_packet();
int s26finish_part();


4. vak92

vak92     fast
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
cc: Warning: using -Xt, ignoring all other -X options
"vak92.c", line 4715: warning: argument mismatch
"vak92.c", line 4715: syntax error before or at: (
"vak92.c", line 4715: function cannot return function or array
"vak92.c", line 4715: identifier redeclared: tsp00_BufAddr
        current : function() returning int
        previous: pointer to array[8192] of unsigned char : "vak92.c", line
11\
2
"vak92.c", line 4715: warning: syntax error:  empty declaration
"vak92.c", line 5123: warning: argument #2 is incompatible with prototy\
pe:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 296
        argument : pointer to unsigned char
"vak92.c", line 5123: warning: argument #3 is incompatible with prototy\
pe:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 296
        argument : pointer to unsigned char
"vak92.c", line 5179: warning: argument #2 is incompatible with prototy\
pe:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 296
        argument : pointer to unsigned char
"vak92.c", line 5179: warning: argument #3 is incompatible with prototy\
pe:
        prototype: pointer to char :
"/home/doehrm/sapdb/sapdb-74/sys/wrk/incl\
/SAPDB/ptoc.h", line 296
        argument : pointer to unsigned char
"vak92.c", line 5226: cannot recover from previous errors
cc: acomp failed for vak92.c
Error while executing "cc -DREL30 -DSVR4 -DI386 -DSAG -D_FILE_OFFSET_BI\
TS=64 -I/home/doehrm/sapdb/sapdb-74/usr/incl -I/home/doehrm/sapdb/sapdb-\
74/sys/wrk/incl -I/home/doehrm/sapdb/sapdb-74/sys/wrk/incl/SAPDB -Xa -D_\
SVID -KPIC -DSAPDB_FAST -mt -xO4 -I/home/doehrm/sapdb/TOOLSRC/incl -Xt -\
xCC -c vak92.c"
message:
COMMAND error 2

Vak92.c:

int s30klen();
int s30lnr_defbyte();
tsp00_BufAddr s35add_bufaddr();
int s40gbyte();
int s40g4int();


Any idea about these? CVS checkout is from today.


Thank you! 

-- 
Markus Doehr            	     SIEGENIA-AUBI KG
SAP-CC/BC , SAPDB-DBA              Zum Grafenwald
fon: +49 6503 917 152              D-54411 Hermeskeil
fax: +49 6503 917 190              http://www.siegenia-aubi.com