Print

Print


I've update perl to v5.14.2 so try again.

Tim

2011/11/22 Edward L. Chapin <[log in to unmask]>:
>
>>>>> bad news indeed. I've worked around this and got a build to succeed
>>>>> using
>>>>>
>>>>>  LDFLAGS="-Wl,--no-as-needed"
>>>>>
>>>>> which seems to restore the old behaviour, but it looks like the real
>>>>> solution is one we've been avoiding for some years now, namely to
>>>>> identify
>>>>> all the shared libraries that are necessary to resolve the symbols when
>>>>> linking a shared library, so that each library ends up with links to
>>>>> the
>>>>> libraries it depends on (this is the reason why the Cygwin build
>>>>> stopped
>>>>> working).
>
> Finally decided to take a crack at getting starlink to build again with
> Ubuntu 11.10 (32bit machine) using the recent patches and the LDFLAGS that
> you recommend. It does seem to get further than I recall, but still dies
> during "make configure-deps" on Perl:
>
>          CCCMD =  gcc -DPERL_CORE -c -DDEBUGGING -fno-strict-aliasing -pipe
> -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -std=c89 -g -O2 -Wall -ansi -W -Wextra
> -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
> pp.o: In function `Perl_pp_pow':
> /home/echapin/starlink/thirdparty/perlsys/perl/perl/pp.c:1106: undefined
> reference to `pow'
> pp.o: In function `Perl_pp_modulo':
> /home/echapin/starlink/thirdparty/perlsys/perl/perl/pp.c:1449: undefined
> reference to `floor'
> /home/echapin/starlink/thirdparty/perlsys/perl/perl/pp.c:1452: undefined
> reference to `floor'
> /home/echapin/starlink/thirdparty/perlsys/perl/perl/pp.c:1465: undefined
>