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
Message body not shown because it is not plain text.