Skip Menu |

This queue is for tickets about the Env-C CPAN distribution.

Report information
The Basics
Id: 47332
Status: resolved
Priority: 0/
Queue: Env-C

People
Owner: MSCHOUT [...] cpan.org
Requestors: kas [...] fi.muni.cz
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Subject: Env::C does not compile under perl-5.10.0 (Fedora 10)
I am trying to compile the Env::C module on perl-5.10.0 (Fedora 10), and it fails to compile with the following messages: gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DPERL_USE_SAFE_PUTENV -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -fPIC "-I/usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE" C.c In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:130:1: warning: "dAX" redefined In file included from C.xs:3: ppport.h:3771:1: warning: this is the location of the previous definition In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:132:1: warning: "dAXMARK" redefined In file included from C.xs:3: ppport.h:3781:1: warning: this is the location of the previous definition In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:136:1: warning: "dITEMS" redefined In file included from C.xs:3: ppport.h:3775:1: warning: this is the location of the previous definition In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:147:1: warning: "dXSTARG" redefined In file included from C.xs:3: ppport.h:3778:1: warning: this is the location of the previous definition In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:169:1: warning: "dUNDERBAR" redefined In file included from C.xs:3: ppport.h:3764:1: warning: this is the location of the previous definition In file included from C.xs:4: /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi/CORE/XSUB.h:170:1: warning: "UNDERBAR" redefined In file included from C.xs:3: ppport.h:3768:1: warning: this is the location of the previous definition C.xs: In function ‘XS_Env__C_setenv’: C.xs:76: warning: implicit declaration of function ‘Perl_Guse_safe_putenv_ptr’ C.xs:76: error: invalid type argument of ‘unary *’ (have ‘int’) C.c: In function ‘XS_Env__C_getallenv’: C.xs:131: warning: unused variable ‘av’ C.xs:130: warning: unused variable ‘p’ make: *** [C.o] Error 1 Commenting out the line 76 of C.xs makes it compile, but I am not sure whether this is the correct thing to do.
This seems to be fine on v0.09. I have a Fedora 15 (which is currently EOL'ed) virtual machine that v0.09 compiles on. Marking as resolved.