|
|
 |
perl6-internals
[perl #41082] [PATCH] Cygwin: conflicting types for _LIB_VERSION
by Greg Bacon other posts by this author
Dec 13 2006 10:32AM messages near this date
|
Past-pm printing the return value of the main routine
# New Ticket Created by Greg Bacon
# Please include the string: [perl #41082]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41082 >
Building r16097 on Cygwin fails:
[...]
src/platform.c
config/gen/platform/cygwin/math.c:11: error: conflicting types for '__fdlib_version'
/usr/include/math.h:409: error: previous declaration of '__fdlib_version' was here
config/gen/platform/cygwin/math.c:11: error: conflicting types for '__fdlib_version'
/usr/include/math.h:409: error: previous declaration of '__fdlib_version' was here
make: *** [src/platform.o] Error 1
Removing the const qualifier from _LIB_VERSION's definition in
config/gen/platform/cygwin/math.h (see attached patch) at least
allows miniparrot to build, but running it is another story:
[...]
gcc -o miniparrot.exe -s -L/usr/local/lib compilers/imcc/main.o -L/usr/src/parrot/bli
b/lib -lparrot -lcrypt -lreadline src/null_config.o
Invoking Parrot to generate runtime/parrot/include/config.fpmc --cross your fingers
./miniparrot.exe config_lib.pasm > runtime/parrot/include/config.fpmc
make: *** [runtime/parrot/include/config.fpmc] Error 53
Greg
|
|
|
 |
|