`sh cflags "optimize='-O2'" opmini.o` -DPERL_EXTERNAL_GLOB opmini.c
CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -Wall
rm -f opmini.c
cc -o miniperl \
miniperlmain.o opmini.o libperl.a
libperl.a(pp.o)(.text+0x258b): In function `Perl_pp_pow':
: undefined reference to `pow'
libperl.a(pp.o)(.text+0x6999): In function `Perl_pp_sin':
: undefined reference to `sin'
libperl.a(pp.o)(.text+0x6ac9): In function `Perl_pp_cos':
: undefined reference to `cos'
libperl.a(pp.o)(.text+0x6da9): In function `Perl_pp_exp':
: undefined reference to `exp'
libperl.a(pp.o)(.text+0x6f08): In function `Perl_pp_log':
: undefined reference to `log'
libperl.a(pp.o)(.text+0x70b6): In function `Perl_pp_sqrt':
: undefined reference to `sqrt'
collect2: ld returned 1 exit status
в чем проблема?
Форум —
General