Subject: compiling VTWM on 1.5 error
To: 'netbsd-users@netbsd.org' <netbsd-users@netbsd.org>
From: Gurujiwan Khalsa <gkhalsa@brightmail.com>
List: netbsd-users
Date: 10/09/2002 16:05:33
Hi All,

I get this error when running make for VTWM 5.4.6a on NetBSD 1.5 for i386.
Any help/ideas?

---[lots cut for brevity]---

gcc -O2        -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15
-DNARROWPROTO                          -DNO_SOUND_SUPPORT    -c icons.c
gcc -O2        -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15
-DNARROWPROTO                          -DNO_SOUND_SUPPORT    -c desktop.c
gcc -O2        -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15
-DNARROWPROTO                          -DNO_SOUND_SUPPORT    -c doors.c
rm -f lastmake.c
echo '/* ' >>lastmake.c
echo ' * This file is generated automatically by the VTWM Makefile.'
>>lastmake.c
echo ' */' >>lastmake.c
echo '' >>lastmake.c
echo 'char *lastmake[] = {' >>lastmake.c
echo '    "Platform:  '`uname -r -s`'",' >>lastmake.c
echo '    "Build:  '`date`'",' >>lastmake.c
echo '    "" };' >>lastmake.c
gcc -O2        -I/usr/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15
-DNARROWPROTO                          -DNO_SOUND_SUPPORT    -c lastmake.c
rm -f vtwm
gcc -o vtwm -O2      -L/usr/X11R6/lib gram.o lex.o deftwmrc.o add_window.o
gc.o list.o                     twm.o sound.o parse.o menus.o events.o
resize.o util.o                     version.o iconmgr.o cursor.o regions.o
applets.o                     icons.o desktop.o doors.o lastmake.o -ll -lXpm
-lXmu -lXt -lSM -lICE -lXext -lX11 -lXext -lXext -lX11
-Wl,-rpath,/usr/X11R6/lib
gram.o: In function `twmrc_error_prefix':
gram.o(.text+0x7a9): undefined reference to `yylineno'
parse.o: In function `doparse':
parse.o(.text+0x2a): undefined reference to `yylineno'
parse.o: In function `twmFileInput':
parse.o(.text+0x35e): undefined reference to `yylineno'
collect2: ld returned 1 exit status
*** Error code 1

Stop.

--------------------------

Thanks for any insight. 

Gurujiwan