From: Daniel Credo on
Hello everybody!

Someone here who was able to set up the newest version von INN (version
2.5.0) on Solaris 10 SPARC?

It is ginving me the following error messages after 'make' ('configure'
runs fine):

ld: fatal: Symbol referencing errors. No output written to innd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `innd'
Current working directory /export/home/news/src/inn-2.5.0/innd
*** Error code 1
make: Fatal error: Command failed for target `all-innd'

INN 2.4.5 is working fine on our Solaris 10 SPARC.

Can somebody help?

Greetings,
Daniel.
From: Marc on
Daniel Credo wrote:

> Someone here who was able to set up the newest version von INN (version
> 2.5.0) on Solaris 10 SPARC?
>
> It is ginving me the following error messages after 'make' ('configure'
> runs fine):
>
> ld: fatal: Symbol referencing errors. No output written to innd
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `innd'
> Current working directory /export/home/news/src/inn-2.5.0/innd
> *** Error code 1
> make: Fatal error: Command failed for target `all-innd'
>
> INN 2.4.5 is working fine on our Solaris 10 SPARC.
>
> Can somebody help?

What about the lines before the ones you posted? They should contain more
relevant information than "error".
From: Daniel Credo on
Marc schrieb:
> Daniel Credo wrote:
>
>> Someone here who was able to set up the newest version von INN (version
>> 2.5.0) on Solaris 10 SPARC?
>>
>> It is ginving me the following error messages after 'make' ('configure'
>> runs fine):
>>
>> ld: fatal: Symbol referencing errors. No output written to innd
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `innd'
>> Current working directory /export/home/news/src/inn-2.5.0/innd
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-innd'
>>
>> INN 2.4.5 is working fine on our Solaris 10 SPARC.
>>
>> Can somebody help?
>
> What about the lines before the ones you posted? They should contain more
> relevant information than "error".

cd include && make all
.../support/mksystem nawk config.h > inn/system.h
.../support/mkversion '2.5.0' '' > inn/version.h
cd lib && make all
gcc -g -O2 -I../include -c setproctitle.c
gcc -g -O2 -I../include -c asprintf.c
gcc -g -O2 -I../include -c hstrerror.c
gcc -g -O2 -I../include -c buffer.c
gcc -g -O2 -I../include -c cleanfrom.c
gcc -g -O2 -I../include -c clientactive.c
gcc -g -O2 -I../include -c clientlib.c
gcc -g -O2 -I../include -c commands.c
gcc -g -O2 -I../include -c concat.c
gcc -g -O2 -I../include -c conffile.c
gcc -g -O2 -I../include -c confparse.c
gcc -g -O2 -I../include -c daemonize.c
gcc -g -O2 -I../include -c date.c
gcc -g -O2 -I../include -c dbz.c
gcc -g -O2 -I../include -c defdist.c
gcc -g -O2 -I../include -c dispatch.c
gcc -g -O2 -I../include -c fdflags.c
gcc -g -O2 -I../include -c fdlimit.c
gcc -g -O2 -I../include -c getfqdn.c
gcc -g -O2 -I../include -c getmodaddr.c
gcc -g -O2 -I../include -c hash.c
gcc -g -O2 -I../include -c hashtab.c
gcc -g -O2 -I../include -c headers.c
gcc -g -O2 -I../include -c hex.c
gcc -g -O2 -I../include -c innconf.c
gcc -g -O2 -I../include -c inndcomm.c
gcc -g -O2 -I../include -c list.c
gcc -g -O2 -I../include -c localopen.c
gcc -g -O2 -I../include -c lockfile.c
gcc -g -O2 -I../include -c makedir.c
gcc -g -O2 -I../include -c md5.c
gcc -g -O2 -I../include -c messageid.c
gcc -g -O2 -I../include -c messages.c
gcc -g -O2 -I../include -c mmap.c
gcc -g -O2 -I../include -c network.c
gcc -g -O2 -I../include -c newsuser.c
gcc -g -O2 -I../include -c nntp.c
gcc -g -O2 -I../include -c numbers.c
gcc -g -O2 -I../include -c qio.c
gcc -g -O2 -I../include -c radix32.c
gcc -g -O2 -I../include -c readin.c
gcc -g -O2 -I../include -c remopen.c
gcc -g -O2 -I../include -c reservedfd.c
gcc -g -O2 -I../include -c resource.c
gcc -g -O2 -I../include -c sendarticle.c
gcc -g -O2 -I../include -c sendpass.c
gcc -g -O2 -I../include -c sequence.c
gcc -g -O2 -I../include -c timer.c
gcc -g -O2 -I../include -c tst.c
gcc -g -O2 -I../include -c uwildmat.c
gcc -g -O2 -I../include -c vector.c
gcc -g -O2 -I../include -c wire.c
gcc -g -O2 -I../include -c xfopena.c
gcc -g -O2 -I../include -c xmalloc.c
gcc -g -O2 -I../include -c xsignal.c
gcc -g -O2 -I../include -c xwrite.c
ar r libinn.a setproctitle.o asprintf.o hstrerror.o buffer.o
cleanfrom.o clientactive.o clientlib.o commands.o concat.o conffile.o
confparse.o daemonize.o date.o dbz.o defdist.o dispatch.o fdflags.o
fdlimit.o getfqdn.o getmodaddr.o hash.o hashtab.o headers.o hex.o
innconf.o inndcomm.o list.o localopen.o lockfile.o makedir.o md5.o
messageid.o messages.o mmap.o network.o newsuser.o nntp.o numbers.o
qio.o radix32.o readin.o remopen.o reservedfd.o resource.o
sendarticle.o sendpass.o sequence.o timer.o tst.o uwildmat.o vector.o
wire.o xfopena.o xmalloc.o xsignal.o xwrite.o
ranlib libinn.a
gcc -g -O2 -I../include -fno-strict-aliasing -pipe
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -I/usr/local/lib/perl5/5.10.1/sun4-solaris/CORE
-Wno-extra -c perl.c
cd storage && make library
gcc -g -O2 -I../include -I. -c -o expire.o expire.c
.../support/fixscript -i buildconfig.in
../buildconfig
gcc -g -O2 -I../include -I. -c -o interface.o interface.c
gcc -g -O2 -I../include -I. -c -o methods.o methods.c
gcc -g -O2 -I../include -I. -c -o ov.o ov.c
gcc -g -O2 -I../include -I. -c -o overdata.o overdata.c
gcc -g -O2 -I../include -I. -c -o overview.o overview.c
gcc -g -O2 -I../include -I. -c -o ovmethods.o ovmethods.c
gcc -g -O2 -I../include -I. -c -o buffindexed/buffindexed.o
buffindexed/buffindexed.c
gcc -g -O2 -I../include -I. -c -o buffindexed/shmem.o buffindexed/shmem.c
gcc -g -O2 -I../include -I. -c -o cnfs/cnfs.o cnfs/cnfs.c
gcc -g -O2 -I../include -I. -c -o ovdb/ovdb.o ovdb/ovdb.c
gcc -g -O2 -I../include -I. -c -o timecaf/caf.o timecaf/caf.c
gcc -g -O2 -I../include -I. -c -o timecaf/timecaf.o timecaf/timecaf.c
gcc -g -O2 -I../include -I. -c -o timehash/timehash.o timehash/timehash.c
gcc -g -O2 -I../include -I. -c -o tradindexed/tdx-cache.o
tradindexed/tdx-cache.c
gcc -g -O2 -I../include -I. -c -o tradindexed/tdx-data.o
tradindexed/tdx-data.c
gcc -g -O2 -I../include -I. -c -o tradindexed/tdx-group.o
tradindexed/tdx-group.c
gcc -g -O2 -I../include -I. -c -o tradindexed/tradindexed.o
tradindexed/tradindexed.c
gcc -g -O2 -I../include -I. -c -o tradspool/tradspool.o
tradspool/tradspool.c
gcc -g -O2 -I../include -I. -c -o trash/trash.o trash/trash.c
ar r libstorage.a expire.o interface.o methods.o ov.o overdata.o
overview.o ovmethods.o buffindexed/buffindexed.o buffindexed/shmem.o
cnfs/cnfs.o ovdb/ovdb.o timecaf/caf.o timecaf/timecaf.o
timehash/timehash.o tradindexed/tdx-cache.o tradindexed/tdx-data.o
tradindexed/tdx-group.o tradindexed/tradindexed.o tradspool/tradspool.o
trash/trash.o
ranlib libstorage.a
cd history && make all
.../support/fixscript -i buildconfig.in
../buildconfig
gcc -g -O2 -I../include -I. -c -o his.o his.c
gcc -g -O2 -I../include -I. -c -o hismethods.o hismethods.c
gcc -g -O2 -I../include -I. -c -o hisv6/hisv6.o hisv6/hisv6.c
ar r libinnhist.a his.o hismethods.o hisv6/hisv6.o
ranlib libinnhist.a
cd perl && make all
cd innd && make all
gcc -g -O2 -I../include -c art.c
gcc -g -O2 -I../include -c cc.c
gcc -g -O2 -I../include -c chan.c
gcc -g -O2 -I../include -c icd.c
gcc -g -O2 -I../include -c innd.c
gcc -g -O2 -I../include -c keywords.c
gcc -g -O2 -I../include -c lc.c
gcc -g -O2 -I../include -c nc.c
gcc -g -O2 -I../include -c newsfeeds.c
gcc -g -O2 -I../include -c ng.c
gcc -g -O2 -I../include -fno-strict-aliasing -pipe
-DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV
-DPERL_USE_SAFE_PUTENV -I/usr/local/lib/perl5/5.10.1/sun4-solaris/CORE
-Wno-extra -c perl.c
gcc -g -O2 -I../include -c proc.c
gcc -g -O2 -I../include -c python.c
gcc -g -O2 -I../include -c rc.c
gcc -g -O2 -I../include -c site.c
gcc -g -O2 -I../include -c status.c
gcc -g -O2 -I../include -c util.c
gcc -g -O2 -I../include -c wip.c
gcc -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o
newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o util.o
wip.o /export/home/news/src/inn-2.5.0/storage/libstorage.a
/export/home/news/src/inn-2.5.0/history/libinnhist.a
/export/home/news/src/inn-2.5.0/lib/libinn.a
/export/home/news/src/inn-2.5.0/lib/perl.o -lsocket -lnsl
Undefined first referenced
symbol in file
PL_na perl.o
Perl_stack_grow perl.o
Perl_newSVpv perl.o
Perl_newSViv perl.o
Perl_sv_2mortal perl.o
perl_alloc /export/home/news/src/inn-2.5.0/lib/perl.o
PL_errgv perl.o
Perl_croak perl.o
Perl_newXS perl.o
perl_parse /export/home/news/src/inn-2.5.0/lib/perl.o
PL_sv_no perl.o
PL_stack_max perl.o
PL_markstack_ptr perl.o
PL_markstack_max perl.o
boot_DynaLoader /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_push_scope perl.o
Perl_get_cv perl.o
Perl_get_hv perl.o
Perl_sys_init3 /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_sys_term /export/home/news/src/inn-2.5.0/lib/perl.o
PL_sv_yes perl.o
Perl_free_tmps perl.o
Perl_markstack_grow perl.o
perl_free /export/home/news/src/inn-2.5.0/lib/perl.o
perl_construct /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_eval_pv /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_hv_common_key_len perl.o
PL_stack_sp perl.o
perl_destruct /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_newSVpvn_share perl.o
Perl_pop_scope perl.o
PL_tmps_ix perl.o
Perl_call_sv perl.o
PL_sv_undef perl.o
PL_stack_base perl.o
PL_exit_flags /export/home/news/src/inn-2.5.0/lib/perl.o
Perl_save_int perl.o
PL_tmps_floor perl.o
Perl_hv_undef perl.o
Perl_sv_2pv_flags perl.o
Perl_sv_2bool perl.o
Perl_call_argv perl.o
ld: fatal: Symbol referencing errors. No output written to innd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `innd'
Current working directory /export/home/news/src/inn-2.5.0/innd
*** Error code 1
make: Fatal error: Command failed for target `all-innd'
From: Chris Ridd on
On 2009-10-09 14:52:25 +0100, Daniel Credo
<daniel.credo(a)fernuni-hagen.de> said:

> gcc -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o
> newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o util.o
> wip.o /export/home/news/src/inn-2.5.0/storage/libstorage.a
> /export/home/news/src/inn-2.5.0/history/libinnhist.a
> /export/home/news/src/inn-2.5.0/lib/libinn.a
> /export/home/news/src/inn-2.5.0/lib/perl.o -lsocket -lnsl
> Undefined first referenced
> symbol in file
> PL_na perl.o
> Perl_stack_grow perl.o
> Perl_newSVpv perl.o
> Perl_newSViv perl.o
> Perl_sv_2mortal perl.o
> perl_alloc /export/home/news/src/inn-2.5.0/lib/perl.o
> PL_errgv perl.o
> Perl_croak perl.o
> Perl_newXS perl.o
> perl_parse /export/home/news/src/inn-2.5.0/lib/perl.o
> PL_sv_no perl.o
> PL_stack_max perl.o
> PL_markstack_ptr perl.o
> PL_markstack_max perl.o
> boot_DynaLoader /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_push_scope perl.o
> Perl_get_cv perl.o
> Perl_get_hv perl.o
> Perl_sys_init3 /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_sys_term /export/home/news/src/inn-2.5.0/lib/perl.o
> PL_sv_yes perl.o
> Perl_free_tmps perl.o
> Perl_markstack_grow perl.o
> perl_free /export/home/news/src/inn-2.5.0/lib/perl.o
> perl_construct /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_eval_pv /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_hv_common_key_len perl.o
> PL_stack_sp perl.o
> perl_destruct /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_newSVpvn_share perl.o
> Perl_pop_scope perl.o
> PL_tmps_ix perl.o
> Perl_call_sv perl.o
> PL_sv_undef perl.o
> PL_stack_base perl.o
> PL_exit_flags /export/home/news/src/inn-2.5.0/lib/perl.o
> Perl_save_int perl.o
> PL_tmps_floor perl.o
> Perl_hv_undef perl.o
> Perl_sv_2pv_flags perl.o
> Perl_sv_2bool perl.o
> Perl_call_argv perl.o
> ld: fatal: Symbol referencing errors. No output written to innd
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `innd'
> Current working directory /export/home/news/src/inn-2.5.0/innd
> *** Error code 1
> make: Fatal error: Command failed for target `all-innd'

Try building against an older version of perl - 5.10 is relatively new,
and inn might be expecting something different. Or consider building
against the Sun-supplied version of perl, and using the free and
excellent quality Sun Studio instead of gcc.
--
Chris

From: Daniel Credo on
Chris Ridd schrieb:
> On 2009-10-09 14:52:25 +0100, Daniel Credo
> <daniel.credo(a)fernuni-hagen.de> said:
>
>> gcc -o innd art.o cc.o chan.o icd.o innd.o keywords.o lc.o nc.o
>> newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o status.o util.o
>> wip.o /export/home/news/src/inn-2.5.0/storage/libstorage.a
>> /export/home/news/src/inn-2.5.0/history/libinnhist.a
>> /export/home/news/src/inn-2.5.0/lib/libinn.a
>> /export/home/news/src/inn-2.5.0/lib/perl.o -lsocket -lnsl
>> Undefined first referenced
>> symbol in file
>> PL_na perl.o
>> Perl_stack_grow perl.o
>> Perl_newSVpv perl.o
>> Perl_newSViv perl.o
>> Perl_sv_2mortal perl.o
>> perl_alloc /export/home/news/src/inn-2.5.0/lib/perl.o
>> PL_errgv perl.o
>> Perl_croak perl.o
>> Perl_newXS perl.o
>> perl_parse /export/home/news/src/inn-2.5.0/lib/perl.o
>> PL_sv_no perl.o
>> PL_stack_max perl.o
>> PL_markstack_ptr perl.o
>> PL_markstack_max perl.o
>> boot_DynaLoader /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_push_scope perl.o
>> Perl_get_cv perl.o
>> Perl_get_hv perl.o
>> Perl_sys_init3 /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_sys_term /export/home/news/src/inn-2.5.0/lib/perl.o
>> PL_sv_yes perl.o
>> Perl_free_tmps perl.o
>> Perl_markstack_grow perl.o
>> perl_free /export/home/news/src/inn-2.5.0/lib/perl.o
>> perl_construct /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_eval_pv /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_hv_common_key_len perl.o
>> PL_stack_sp perl.o
>> perl_destruct /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_newSVpvn_share perl.o
>> Perl_pop_scope perl.o
>> PL_tmps_ix perl.o
>> Perl_call_sv perl.o
>> PL_sv_undef perl.o
>> PL_stack_base perl.o
>> PL_exit_flags /export/home/news/src/inn-2.5.0/lib/perl.o
>> Perl_save_int perl.o
>> PL_tmps_floor perl.o
>> Perl_hv_undef perl.o
>> Perl_sv_2pv_flags perl.o
>> Perl_sv_2bool perl.o
>> Perl_call_argv perl.o
>> ld: fatal: Symbol referencing errors. No output written to innd
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `innd'
>> Current working directory /export/home/news/src/inn-2.5.0/innd
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-innd'
>
> Try building against an older version of perl - 5.10 is relatively new,
> and inn might be expecting something different. Or consider building
> against the Sun-supplied version of perl, and using the free and
> excellent quality Sun Studio instead of gcc.

Already tried to build against coolstack perl 5.8.8. Same errors here.
gcc is working fine with INN 2.4.5.