You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Michael Stevens <mi...@iii.co.uk> on 2001/05/18 18:58:33 UTC

embperl 2.0 and sun cc

Hi.

I'm trying to build embperl 2.0b3_dev-5 on 

cc: Sun WorkShop 6 2000/04/07 C 5.1

and perl 5.004_05, and getting compiler errors.

Here's what I see:

--cut here--
cc -c  -I/usr/local/include -O    -DVERSION=\"2.0b3_dev-5\"
-DXS_VERSION=\"2.0b3_dev-5\" -Kpic
-I/www/common/perl-builds/installs/perl5_004_05_tar_gz__des__Dcc_cc/lib/sun4
-solaris/5.00405/CORE -DEP2  Embperl.c
"Cmd.xs", line 41: warning: improper pointer/integer combination: op ":"
"Cmd.xs", line 42: warning: improper pointer/integer combination: op ":"
"Cmd.xs", line 56: warning: improper pointer/integer combination: op ":"
"Cmd.xs", line 57: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 65: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 84: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 102: warning: improper pointer/integer combination: op ":"
"Embperl.c", line 1792: warning: useless declaration
"DOM.xs", line 166: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 183: warning: improper pointer/integer combination: op ":"
"Embperl.c", line 1968: warning: useless declaration
"DOM.xs", line 258: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 259: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 275: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 276: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 293: warning: improper pointer/integer combination: op ":"
"DOM.xs", line 306: warning: improper pointer/integer combination: op ":"
cc -c  -I/usr/local/include -O    -DVERSION=\"2.0b3_dev-5\"
-DXS_VERSION=\"2.0b3_dev-5\" -Kpic
-I/www/common/perl-builds/installs/perl5_004_05_tar_gz__des__Dcc_cc/lib/sun4
-solaris/5.00405/CORE -DEP2  epmain.c
"epmain.c", line 336: warning: syntax error:  empty declaration
"epmain.c", line 337: warning: syntax error:  empty declaration
"epmain.c", line 338: warning: syntax error:  empty declaration
"epmain.c", line 339: warning: syntax error:  empty declaration
"epmain.c", line 340: warning: syntax error:  empty declaration
"epmain.c", line 341: warning: syntax error:  empty declaration
"epmain.c", line 342: warning: syntax error:  empty declaration
"epmain.c", line 343: warning: syntax error:  empty declaration
"epmain.c", line 344: warning: syntax error:  empty declaration
"epmain.c", line 345: warning: syntax error:  empty declaration
"epmain.c", line 346: warning: syntax error:  empty declaration
"epmain.c", line 347: warning: syntax error:  empty declaration
"epmain.c", line 348: warning: syntax error:  empty declaration
"epmain.c", line 349: warning: syntax error:  empty declaration
"epmain.c", line 350: warning: syntax error:  empty declaration
"epmain.c", line 351: warning: syntax error:  empty declaration
"epmain.c", line 352: warning: syntax error:  empty declaration
"epmain.c", line 353: warning: syntax error:  empty declaration
"epmain.c", line 354: warning: syntax error:  empty declaration
"epmain.c", line 355: warning: syntax error:  empty declaration
"epmain.c", line 356: warning: syntax error:  empty declaration
"epmain.c", line 367: warning: syntax error:  empty declaration
"epmain.c", line 368: warning: syntax error:  empty declaration
"epmain.c", line 369: warning: syntax error:  empty declaration
"epmain.c", line 370: warning: syntax error:  empty declaration
"epmain.c", line 371: warning: syntax error:  empty declaration
"epmain.c", line 372: warning: syntax error:  empty declaration
"epmain.c", line 373: warning: syntax error:  empty declaration
"epmain.c", line 374: warning: syntax error:  empty declaration
"epmain.c", line 375: warning: syntax error:  empty declaration
"epmain.c", line 376: warning: syntax error:  empty declaration
"epmain.c", line 377: warning: syntax error:  empty declaration
"epmain.c", line 378: warning: syntax error:  empty declaration
"epmain.c", line 379: warning: syntax error:  empty declaration
"epmain.c", line 380: warning: syntax error:  empty declaration
"epmain.c", line 381: warning: syntax error:  empty declaration
"epmain.c", line 1550: syntax error before or at: /
"epmain.c", line 1607: cannot recover from previous errors
cc: acomp failed for epmain.c
make: *** [epmain.o] Error 2
--cut here--

Anyone know what's going wrong?

Michael

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: embperl 2.0 and sun cc

Posted by Gerald Richter <ri...@ecos.de>.
> I'm trying to build embperl 2.0b3_dev-5 on
>
> cc: Sun WorkShop 6 2000/04/07 C 5.1
>
> and perl 5.004_05, and getting compiler errors.
>

the c compiler has some problems with the results of the macro expansion. If
you can run Embperl.c and epmain.c thru the C-preprocessor and send me the
result, I am hopefully able to find out what's wrong

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org