Subject: Problems building mozilla-19981008
To: 'port-sparc@netbsd.org' <port-sparc@netbsd.org>
From: Steven Grunza <steven.grunza@dgms.com>
List: port-sparc
Date: 06/07/1999 18:46:07
I tried using the pre-compiled version but it kept getting 
segmentation faults so I'm trying to build it.  I got:


root@hw-ss1# make
===>  Validating dependencies for mozilla-19981008
>> Checksum OK for mozilla-19981008.tar.gz.
===>  Extracting for mozilla-19981008
===>  mozilla-19981008 depends on file: /usr/pkg/bin/perl - found
===>  mozilla-19981008 depends on executable: gmake - 
/usr/pkg/bin/gmake found
===>  Patching for mozilla-19981008
===>  Applying NetBSD patches for mozilla-19981008
===>  Configuring for mozilla-19981008
===>  Building for mozilla-19981008
cd config; gmake export
gmake[1]: Entering directory 
`/usr/pkgsrc/www/mozilla/work/mozilla/config'
gcc -o NetBSD1.4_OPT.OBJ/nsinstall.o -c -DXP_UNIX -O -DNETBSD -fPIC 
-DSW_THREADS -DNEED_UINT -DHAVE_LCHOWN -DNTOHL_ENDIAN_H 
-DHAVE_FILIO_H -DNEED_SYS_TIME_H -DNEED_UINT_T -DHAVE_BSD_FLOCK 
-DHAVE_SYSERRLIST -D_PR_LOCAL_THREADS_ONLY -DHAVE_STRERROR  -UDEBUG 
-DNDEBUG -DTRIMMED -DNSPR20 -DNETSCAPE -DOSTYPE=\"NetBSD1\" -DMOZI  
LLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DMOZ_MAIL_COMPOSE -DSingleSignon 
-DCookieManagement -DENDER -DNO_SECURITY -DEDITOR -DEDITOR_UI 
-DLAYERS -DUNIX_EMBED -DX_PLUGINS -DUNIX_LDAP -DNSPR -DOJI 
-DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG 
-DMOZ_USER_DIR=\".netscape\"   -I../include  -I/usr/X11R6/include 
-I/usr/include/g++ -I../dist/NetBSD1.4_OPT.OBJ/include   nsinstall.c
In file included from nsinstall.c:38:
/usr/include/unistd.h:253: syntax error before `ualarm'
/usr/include/unistd.h:253: warning: parameter names (without types) 
in function declaration
/usr/include/unistd.h:253: warning: data definition has no type or 
storage class
/usr/include/unistd.h:254: warning: parameter names (without types) 
in function declaration
gmake[1]: *** [NetBSD1.4_OPT.OBJ/nsinstall.o] Error 1
gmake[1]: Leaving directory 
`/usr/pkgsrc/www/mozilla/work/mozilla/config'
gmake: *** [export] Error 2
*** Error code 2


Any ideas?

=======================================================
Steven Grunza				Hardware Engineer
------------------------------------------------------------------  
--------------------------------------------
mailto:grunza@dgms.com		Ulticom
voice: (609) 608 - 2759    		1020 Briggs Road
fax:   (609) 866 - 2033			Mt. Laurel, NJ 08054
flames: /dev/null			
------------------------------------------------------------------  
--------------------------------------------
Unix is user friendly, it's just particular about with whom it makes 
friends.