Sorry about the late Summary.
Thanks to Scott W. Adkins. His answer solved my problem. Here is his
suggestion to me:
>What is your PATH and LD_LIBRARY_PATH set to? Do you have FSFMake
>as well? I would recommend it. If you do, make sure /usr/local/bin is in
>your path *before* /usr/ccs/bin is... that way, you get the right version
>make. Another alternative, which is what I did, is to grab the LWPerl pkg
>from the www.sunfreeware.com web site. It is easier to do that than to
>your time compiling your own.
The key is to use /usr/local/bin in the path *BEFORE* /usr/ccs/bin.
I also tried the majority suggestion to download the LWPerl pkg from
www.sunfreeware.com. And it works painless as well.
For using sybperl, the pre-compiled package does not work with it though.
Perl will have to rebuild to make it work.
Many thanks to the following people:
Scott W. Adkins
Mohd Fared Bin Abdul Khir
Here is the original question:
To All Helpers:
The platform is Solaris 2.6
# pkginfo -l | grep gcc
# pkginfo -l FSFgcc
VENDOR: Free Software Foundation
PSTAMP: Steve Christensen
INSTDATE: May 03 1999 14:06
STATUS: completely installed
FILES: 183 installed pathnames
5 shared pathnames
2 linked files
52247 blocks used (approx)
I run sh Configure -Dcc=gcc to compile the Perl and configure and make
depentent run fine, but make failed.
make: Warning: Both `makefile' and `Makefile' exist
gcc -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -lsocket -lnsl
lm -lc -lcrypt
Undefined first referenced
symbol in file
ld: fatal: Symbol referencing errors. No output written to miniperl
*** Error code 1
make: Fatal error: Command failed for target `miniperl'
Any help will be appreciated. I have checked the archive and have not
found any related tip yet.
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:19 CDT