Subject: Re: /usr/include/math.h:200: syntax error before `expf' [PERL5.004_04]
To: port-mac68k@NetBSD.ORG, Makoto Fujiwara <makoto@ki.nu>
From: T. Sean (Theo) Schulze <tschulze@compuserve.com>
List: port-mac68k
Date: 01/24/1998 06:35:20
I recently compiled perl on my IIci running GENERICSBC #56 and NetBSD 1.3=
 =

RELEASE.  The problems I had were not in the compiling, but in testing =

afterwards.  Are you using the latest 1.3 release or 1.3_ALPHA or 1.3 =

BETA?

On 1/24/98 10:00 AM, Makoto Fujiwara at makoto@ki.nu wrote:

>
>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=3D'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 =3D  gcc -DPERL_CORE -c  -O   =

>`sh  cflags libperl.a perl.o`  perl.c
>          CCCMD =3D  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 =3D 20676608
>avail mem =3D 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
>--------------------------------------------


                 T. Sean (Theo) Schulze
71410.25@compuserve.com            TSSchulze@aol.com
****************************************************
How large does the Internet need to get before the
planet becomes self-aware?