Subject: xemacs
To: netbsd HP <port-hp300@NetBSD.ORG>
From: Tony Povoas <tony@ing.iac.es>
List: port-hp300
Date: 03/05/1997 16:48:37
Has anybody successfully compiled xemacs-19.14 on NetBSD-1.2 ? The
configure has an option for the hp300 but mid way through the compilation
it bombs out with:

ar cq liblw.a lwlib.o   lwlib-Xlw.o xlwmenu.o  xlwscrollbar.o
lwlib-Xaw.o  lwl
ib-utils.o        lwlib-config.o 
if [ -n ranlib ]; then    ranlib liblw.a;       fi
cd dynodump; make all    CC='gcc' CFLAGS='-g -O' MAKE='make'
cd src; make all    CC='gcc' CFLAGS='-g -O' MAKE='make'
gcc -c -Demacs -DHAVE_CONFIG_H  -I.        -I/local/xemacs-19.14/src            
     -I/usr/X11R5/include            -I/local/xemacs-19.14/src/../lwlib -g
-O ec
rt0.c
ecrt0.c:290: syntax error before `int'
ecrt0.c: In function `start1':
ecrt0.c:292: `xargv' undeclared (first use this function)
ecrt0.c:292: (Each undeclared identifier is reported only once
ecrt0.c:292: for each function it appears in.)
ecrt0.c:293: `argc' undeclared (first use this function)
*** Error code 1

I tried compiling under NetBSD 1.0 and this failed so upgraded to 1.2 (
which I'd been putting off doing until I acquired a spare disk but ended
up just going for it anyway, nice job the upgrade works!!! ).
Unfortunately even with the new version of gcc things didn't improve :-(

If anyone has been through this before I'd appreciate suggestions! 

Thanks

Tony