Front page | perl.perl5.porters |
Postings from December 2000
Bleadperl didn't compile
Thread Next
From:
Gerrit P. Haase
Date:
December 17, 2000 07:42
Subject:
Bleadperl didn't compile
Message ID:
3A3CED43.21426.19B536C3@localhost
Hi porters,
got prblems with bleadperl:
make: Entering directory `/src/bleadperl'
GNUmakefile:245: warning: overriding commands for target `perlmain.o'
GNUmakefile:187: warning: ignoring old commands for target `perlmain.o'
perl embed.pl
`sh cflags libperl5_7_0 miniperlmain.o` miniperlmain.c
CCCMD = gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV -fno-
strict-aliasing -I/usr/local/include -O2
In file included from perl.h:27,
from miniperlmain.c:12:
config.h:2102: undefined or invalid # directive
make: *** [miniperlmain.o] Error 1
`sh cflags libperl5_7_0 perl.o` perl.c
CCCMD = gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV -fno-
strict-aliasing -I/usr/local/include -O2
In file included from perl.h:27,
from perl.c:16:
config.h:2102: undefined or invalid # directive
make: *** [perl.o] Error 1
`sh cflags libperl5_7_0 malloc.o` malloc.c
CCCMD = gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV -fno-
strict-aliasing -I/usr/local/include -O2
In file included from perl.h:27,
from malloc.c:240:
config.h:2102: undefined or invalid # directive
make: *** [malloc.o] Error 1
[...]
Line 2097, config.h:
/* HAS_STRTOQ:
* This symbol, if defined, indicates that the strtoq routine is
* available to convert strings to long longs (quads).
*/
# HAS_STRTOQ /**/
I don't know, where to change s.th., looked in config.sh and
config_h.SH, but didn't figured out what to change.
I changed config.h and it compiles ... not, i got this:
`sh cflags libperl5_7_0 mg.o` mg.c
CCCMD = gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV -fno-
strict-aliasing -I/usr/local/include -O2
mg.c: In function `Perl_magic_len':
mg.c:406: warning: passing arg 1 of `Perl_utf8_length' from
incompatible pointer type
mg.c:406: too few arguments to function `Perl_utf8_length'
make: *** [mg.o] Error 1
[...]
make: Target `all' not remade because of errors.
Any help is welcome,
--
Gerrit Peter Haase
Thread Next
-
Bleadperl didn't compile
by Gerrit P. Haase