[rrd-developers] Re: Problem making perl modules for ver 1.1.X

Jake Brutlag jakeb at microsoft.com
Mon May 20 18:57:07 MEST 2002



Eric,

I tested the compilation process of perl-shared with the following
software:
(1) MSVC++ 6.0
(2) ActiveState Perl 5xx build

If you are using a 6xx ActiveState build and MSVC++ 7.0, I suspect you
will need to make some changes to ntmake.pl. Try commenting out the
PERLPATCHLEVEL define and fix the library paths for your system.

BTW, revious versions of rrdtool have included a project file for the
perl libraries. If you are running an ActiveState 6xx build, perhaps you
can configure/create the project file and submit it to Tobi. I didn't
want to do this using my configuration because we are running the older
ActiveState builds.

Jake

Jake Brutlag
Network Analyst
TV Services -- Network Operations
Microsoft MSN 

> -----Original Message-----
> From: Eric Chamberlain [mailto:echamber at socrates.Berkeley.EDU] 
> Sent: Saturday, May 18, 2002 9:05 PM
> To: rrd-developers at list.ee.ethz.ch
> Subject: [rrd-developers] Problem making perl modules for ver 1.1.X
> 
> 
> 
> I am trying to make the perl modules with the 
> rrdtool-2002-05-18 build.  I 
> am trying to do this in a windows environment.  I can 
> successfully compile 
> the src and lib files with VC7.  But when I run nmake test, I get the 
> following output:
> 
> D:\Cricket\rrdtool-2002-05-18\bindings\perl-shared>nmake test
> 
> Microsoft (R) Program Maintenance Utility Version 7.00.9466 
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>          cl.exe -c -I../../src/ 
> -I../../libraries/freetype-2.0.5/include -I 
> ../..
> /libraries/libart_lgpl-2.3.7 -I ../../libraries/zlib-1.1.4 -I 
> ../../libraries/li
> bpng-1.2.0 -Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT 
> -DHAVE_DES_FC
> RYPT -DPERL_OBJECT -Od -MD -DNDEBUG -TP 
> -GX     -DVERSION=\"1.000331\"  -DXS_VER
> SION=\"1.000331\"  -IC:\Perl\lib\CORE -DPERLPATCHLEVEL=5 
> RRDs.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 
> 13.00.9466 for 80x86 Copyright (C) Microsoft Corporation 
> 1984-2001. All rights reserved.
> 
> RRDs.c
> RRDs.c(65) : error C2065: 'Perl_croak' : undeclared identifier
> RRDs.c(65) : error C2065: 'aTHX_' : undeclared identifier
> RRDs.c(65) : error C2143: syntax error : missing ')' before 'string'
> RRDs.c(65) : error C2059: syntax error : ')'
> RRDs.c(87) : error C2065: 'dXSTARG' : undeclared identifier
> RRDs.c(91) : error C2065: 'XSprePUSH' : undeclared identifier
> RRDs.c(91) : error C2065: 'targ' : undeclared identifier
> RRDs.c(91) : error C2227: left of '->sv_flags' must point to 
> class/struct/union
> RRDs.c(91) : error C2440: '=' : cannot convert from 
> ''unknown-type'' to 'SV *'
> RRDs.c(110) : error C2227: left of '->sv_flags' must point to 
> class/struct/union
> 
> RRDs.c(110) : error C2440: '=' : cannot convert from 
> ''unknown-type'' to 'SV *'
> RRDs.c(129) : error C2227: left of '->sv_flags' must point to 
> class/struct/union
> 
> RRDs.c(129) : error C2440: '=' : cannot convert from 
> ''unknown-type'' to 'SV *'
> RRDs.c(148) : error C2227: left of '->sv_flags' must point to 
> class/struct/union
> 
> RRDs.c(148) : error C2440: '=' : cannot convert from 
> ''unknown-type'' to 'SV *' NMAKE : fatal error U1077: 
> 'cl.exe' : return code '0x2' Stop.
> 
> Any ideas what is causing this?
> 
> --
> Eric Chamberlain, CISSP
> Campus Active Directory Architect
> Central Computing Services                      285 Evans Hall
> University of California, Berkeley                (510) 642-8426
> 
> --
> Unsubscribe 
> mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscr
ibe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list