Re: eu 3.1.1 problem

new topic     » goto parent     » topic index » view thread      » older message » newer message
kinz_linux said...

I've used be_callc.c of 4.0a3 in 3.1.1 source just now. It seems to work OK with Win32 and Dos32, but, sorry, on Linux, gives me the message:

[root@localhost source]# gcc be_callc.c 
be_callc.c: In function ‘call_c’ 
be_callc.c:447: error: expected ‘)’ before ‘__stdcall’ 
be_callc.c:447: eroor: expected ‘)’ before ‘(’ token 
be_callc.c:447: error: expected ‘)’ before ‘int_proc_address’ 
be_callc.c:464: eroor: expected ‘)’ before ‘__stdcall’ 
be_callc.c:464: eroor: expected ‘)’ before ‘(’ token 
be_callc.c:464: error: expected ‘)’ before ‘int_proc_address’ 
be_callc.c:481: error: expected ‘)’ before ‘__stdcall’ 
be_callc.c:481: error: expected ‘)’ before ‘(’ token 
be_callc.c:481: error: expected ‘)’ before ‘int_proc_address’ 
[root@localhost source]#  

You are doing it the wrong way. You need to use imakeu to build on Linux, runningcc directly is possible but it requires you to know exactly which defines and options to pass. (You could figure this out by reading imakeu, though.) In short, you haven't passed -DELINUX so be_callc.c assumed you were using Watcom on Windows, and then gcc balks at stdcall (which is only valid on Windows).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu