Subject: /usr/include/math.h:200: syntax error before `expf' [PERL5.004_04]
To: None <port-mac68k@NetBSD.ORG>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-mac68k
Date: 01/24/1998 18:00:55
I have a problem compiling Perl5.004_04, does anybody have
any info why I am getting this type of problem ?
Thanks in advance,
Makoto Fujiwara
Chiba, Japan
------------
makoto@ci 16:50:25/980124(...making/perl5.004_04)> ./configure -des
sh Configure -ds -e -des -Dcc='gcc'
...(stuff omitted)...
Updating makefile...
Now you must run a make.
makoto@ci 17:34:38/980124(...making/perl5.004_04)> time make
`sh cflags libperl.a miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -O
`sh cflags libperl.a perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -O
In file included from perl.h:1214,
from perl.c:15:
/usr/include/math.h:200: syntax error before `expf'
/usr/include/math.h:200: warning: data definition has no type or storage class
*** Error code 1
Stop.
92.274u 12.374s 1:50.38 94.7% 0+0k 161+96io 89pf+0w
makoto@ci 17:36:30/980124(...making/perl5.004_04)>
My machine is:
--------------------------------------------
NetBSD 1.3 (GENERIC) #56: Wed Dec 31 13:40:30 PST 1997
allen@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC
Apple Macintosh IIci (68030)
cpu: delay factor 81
real mem = 20676608
avail mem = 16281600
using 204 buffers containing 835584 bytes of memory
mrg: 'Mac IIci/Q700 ROMs' ROM glue, tracing off, debug off, silent traps
...
sd1 at scsibus0 targ 6 lun 0: <QUANTUM, LIGHTNING 365S, 241E> SCSI2 0/direct fixed
sd1: 349MB, 3658 cyl, 2 head, 97 sec, 512 bytes/sect x 715880 sectors
--------------------------------------------
(Makoto Fujiwara)