Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 244
Status: resolved
Priority: 0/
Queue: Time-Piece

People
Owner: Nobody in particular
Requestors: metaperl [...] mac.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.00
Fixed in: (no value)



Subject: compiles, but c function _strptime does not resolve
[localhost:~/wares/Time-Piece-1.00] metaperl% make gcc -c -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -DINT32_MIN_BROKEN -DINT64_M\ IN_BROKEN -Wall -fno-strict-aliasing -I/usr/local/include -O3 -DVERSION=\"1.\ 00\" -DXS_VERSION=\"1.00\" -I/Users/metaperl/install/lib/5.7.2/darwin/CORE P\ iece.c Piece.c:2: undefined or invalid # directive Piece.xs:42: warning: redefinition of macro init_tm /Users/metaperl/install/lib/5.7.2/darwin/CORE/embed.h:275: warning: this is th\ e location of the previous definition Piece.xs:51: warning: static declaration for `Perl_mini_mktime' follows non-st\ atic Piece.c: In function `XS_Time__Piece__strftime': Piece.c:271: warning: unused variable `targ' Piece.c:270: warning: unused variable `RETVAL' Piece.xs: In function `XS_Time__Piece__strptime': Piece.xs:347: warning: implicit declaration of function `strptime' Piece.xs:330: warning: unused variable `len' Piece.xs:326: warning: unused variable `tmpbuf' Running Mkbootstrap for Time::Piece () chmod 644 Piece.bs rm -f blib/arch/auto/Time/Piece/Piece.bundle LD_RUN_PATH="" cc -bundle -flat_namespace -undefined suppress -L/usr/local/li\ b Piece.o -o blib/arch/auto/Time/Piece/Piece.bundle chmod 755 blib/arch/auto/Time/Piece/Piece.bundle cp Piece.bs blib/arch/auto/Time/Piece/Piece.bs chmod 644 blib/arch/auto/Time/Piece/Piece.bs Manifying blib/man3/Time::Seconds.3 Manifying blib/man3/Time::Piece.3 [localhost:~/wares/Time-Piece-1.00] metaperl% make test PERL_DL_NONLAZY=1 /Users/metaperl/install/bin/perl -Iblib/arch -Iblib/lib -e '\ use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/base....dyld: /Users/metaperl/install/bin/perl Undefined symbols: _strptime
Download timepiece.problems
application/x-macbinary 4.6k

Message body not shown because it is not plain text.

Closing, assuming it's the MacOSX problem.