Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41082] [PATCH] Cygwin: conflicting types for _LIB_VERSION

9 views
Skip to first unread message

Greg Bacon

unread,
Dec 13, 2006, 12:09:34 PM12/13/06
to bugs-bi...@rt.perl.org
# 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/blib/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

cyg-math.patch
0 new messages