Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build 5.6 on SunOS 5.7 #2123

Closed
p5pRT opened this issue Jun 23, 2000 · 3 comments
Closed

Unable to build 5.6 on SunOS 5.7 #2123

p5pRT opened this issue Jun 23, 2000 · 3 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 23, 2000

Migrated from rt.perl.org#3416 (status was 'resolved')

Searchable as RT3416$

@p5pRT
Copy link
Author

p5pRT commented Jun 23, 2000

From Jeffrey_Lyon@capgroup.com

Jeffrey Lyon (jppl@​capgroup.com)
tel (800) 338-2141 ext. 5002

building perl 5.6 fails during the make. This is the last bit of output​:

==========================================================
cc -L/usr/local/lib -L/opt/SUNWspro/SC5.0/lib -o miniperl \
  miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
Undefined first referenced
symbol in file
PL_malloc_mutex libperl.a(malloc.o)
Perl_croak_nocontext libperl.a(malloc.o)
PL_thr_key libperl.a(malloc.o)
ld​: fatal​: Symbol referencing errors. No output written to miniperl
*** Error code 1
make​: Fatal error​: Command failed for target `miniperl'

=======================================================
I accepted all the defaults in Configure except that my install directory is
/users/webtools, and I did not want a link to /usr/bin/perl.

Attached is myconfig.

uname -a produces​:
SunOS parker 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-4

Thanks for any help you can give.

@p5pRT
Copy link
Author

p5pRT commented Jun 23, 2000

From Jeffrey_Lyon@capgroup.com

myconfig

@p5pRT
Copy link
Author

p5pRT commented Jun 25, 2000

From [Unknown Contact. See original ticket]

Jeffrey Lyon <Jeffrey_Lyon@​capgroup.com> writes​:

Jeffrey Lyon (jppl@​capgroup.com)
tel (800) 338-2141 ext. 5002

building perl 5.6 fails during the make. This is the last bit of output​:

==========================================================
cc -L/usr/local/lib -L/opt/SUNWspro/SC5.0/lib -o miniperl \
miniperlmain.o opmini.o libperl.a -lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
Undefined first referenced
symbol in file
PL_malloc_mutex libperl.a(malloc.o)
Perl_croak_nocontext libperl.a(malloc.o)
PL_thr_key libperl.a(malloc.o)
ld​: fatal​: Symbol referencing errors. No output written to miniperl
*** Error code 1
make​: Fatal error​: Command failed for target `miniperl'

Hmm - looks like you might have re-built after an attempt to build
a threaded perl.

Try just deleting malloc.o and rebuilding
If that does not fix it try building without perl's malloc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant