Subject: pkg/18105: Mozilla fails to build on hpcarm
To: None <gnats-bugs@gnats.netbsd.org>
From: None <manu@netbsd.org>
List: netbsd-bugs
Date: 08/29/2002 17:16:28
>Number: 18105
>Category: pkg
>Synopsis: Mozilla fails to build on hpcarm
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 29 07:17:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Emmanuel Dreyfus
>Release: NetBSD-current
>Organization:
The NetBSD Project
>Environment:
NetBSD microbe 1.6F NetBSD 1.6F (MICROBE) #1: Tue Aug 27 12:31:25 CEST 2002 root@plume:/cvs/src/sys/arch/hpcarm/compile/MICROBE hpcarm
Architecture: arm32
Machine: hpcarm
>Description:
The mozillapackage does not build on hpcarm, beacause it does not use
the appropriate options to create shared libraries. Here is the first problem
in the build process:
cc -o libnspr4.so -Wl,-R/usr/X11R6/lib/mozilla ./prvrsion.o io/./prfdcach.o io/. /prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o io/./prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o threads/./prtpd.o linking/./prlink.o malloc/./prmem.o md/./prosdep.o memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o misc/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.omisc/./prerr.o misc/./prerror.o misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o misc/./prolock.o misc/./prrng.o misc/./prsystem.o misc/./prthinfo.o misc/./prtpool.o misc/./prtrace.o misc/./prtime.o malloc/./prmalloc.o io/./prdir.o io/./prfile.o io/./prio.o io/./prsocket.o misc/./pripcsem.o threads/./prcthr.o threads/./prdump. o threads/./prmon.o threads/./prsem.o threads/combined/./prucpu.o threads/combined/./prucv.o threads/combined/./prulock.o threads/combined/./prustack.o threads/combined/./pruthr.o md/unix/./unix.o md/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o md/unix/./uxwrap.o md/unix/./uxpoll.o md/unix/./netbsd.o
/usr/lib/crt0.o: In function `___start':
/usr/lib/crt0.o(.text+0xe8): undefined reference to `main'
>How-To-Repeat:
cd pkgsrc/mozilla
make install
>Fix:
Adding the -shared flag enable it to build, but I can't find where to add
this in the build system.
There are 3 libs that need -shared, then everything is alright, mozilla
works.
>Release-Note:
>Audit-Trail:
>Unformatted: