Subject: pkg/18892: shells/tcsh buildlink2 problems on Solaris
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/03/2002 03:41:24
>Number:         18892
>Category:       pkg
>Synopsis:       shells/tcsh buildlink2 problems on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 02 08:41:00 PST 2002
>Originator:     grant beattie
>Release:        -current pkgsrc
System: SunOS twinkle 5.8 Generic_108528-16 sun4m sparc SUNW,SPARCstation-5
Architecture: sparc
Machine: sparc
During the configure phase of shells/tcsh, the gcc buildlink2 wrapper
seems to drop some arguments to gcc, resulting in various functions not
being found.

from tcsh's config.log:
configure:1264: gcc -o conftest -O -I/usr/pkg/include   -I/usr/pkg/include  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c -ltermcap   1>&5
Undefined                       first referenced
 symbol                             in file
tgetent                             /var/tmp/cczcus97.o
ld: fatal: Symbol referencing errors. No output written to conftest

from .wrapper.log:
/usr/local/bin/gcc -o conftest -O conftest.c

I am using the bootstrap-pkgsrc kit.

cd shells/tcsh; make