Subject: cannot compile mozilla on macppc
To: None <tech-ports@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: tech-ports
Date: 11/05/2003 19:08:13
Hi,

I get the following error:

cc -o prprf.o -c   -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include -O2 -I/usr/pkg/include -I/usr/X11R6/include -pipe -ansi -Wall -pthread -O2 -fPIC -DPIC  -UDEBUG  -DMOZILLA_CLIENT=1 -DNDEBUG=1 -DXP_UNIX=1 -DNETBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I/net/soft/NetBSD/pkgsrc/www/mozilla/work.powerpc/mozilla/dist/include/nspr -I../../../pr/include -I../../../pr/include/private  prprf.c
prprf.c: In function `BuildArgArray':
prprf.c:620: error: incompatible types in assignment
gmake[5]: *** [prprf.o] Error 1
gmake[5]: Leaving directory `/net/soft/NetBSD/pkgsrc/www/mozilla/work.powerpc/mozilla/nsprpub/pr/src/io'



[mecki:/usr/pkgsrc/www/mozilla]$ uname -a
NetBSD mecki.groessler.org 1.6ZE NetBSD 1.6ZE (MECKI) #1: Mon Nov  3 20:46:30 CET 2003  chris@langhals:/local/netbsdsrc/src/sys/arch/macppc/compile/MECKI macppc
[mecki:/usr/pkgsrc/www/mozilla]$ cc -v
Using built-in specs.
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --build=powerpc-unknown-netbsd --host=powerpc--netbsd --target=powerpc--netbsd
Thread model: posix
gcc version 3.3.2 (NetBSD nb1 20031026)



regards,
chris