*BSD News Article 27447


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!cs.utexas.edu!uunet!news.univie.ac.at!ludens.elte.hu!goliat.eik.bme.hu!newsadmin	
Newsgroups: comp.os.386bsd.questions
Subject: Re: Upgrading NetBSD-0.9 to NetBSD-current
Message-ID: <2jsvm9$5qn@goliat.eik.bme.hu>
From: pink@fsz.bme.hu (Szabolcs Szigeti (PinkPanther))
Date: 16 Feb 1994 11:22:49 GMT
Reply-To: pink@fsz.bme.hu
References: <2jh1sl$fc5@lucy.ee.und.ac.za>
Distribution: world
Organization: Department of Process Control, Technical University of Budapest, HUNGARY
NNTP-Posting-Host: bagira.fsz.bme.hu
Lines: 36

In article fc5@lucy.ee.und.ac.za, barrett@lucy.ee.und.ac.za (Alan Barrett) writes:
>In article <2jb9qg$8lt@sundog.tiac.net>,
>timj@tiac.net (Tim Jackson) writes:
>> I am trying to upgrade from a stock NetBSD 0.9 to NetBSD-current
>
>I recently went through the same exercise.  I suggest that you try
>something like this:
			[ deleted ]
>
> * Now build and install the new lex.  This will require some hacking,
>   because the new lex's "scanner.l" source file is written in a
>   language that the old lex doesn't understand.  The old lex will
>   complain about the "<*>" in one of the rules (just delete those
>   three characters to make it happy). 

Don't! If you look in lex's Makefile it says that to bootstrap lex cp
the file initscan.c to scan.c (Not sure about the names, but something 
like that) and make. It will compile. Well, it did for me, at least. After
this, you might want to recompile lex with itself, but i don't think 
it's needed.
					 After fixing that, you will get
>   some undefined symbols at link time; these can be fixed by adding
>   appropriate stuff to the y.tab.h file that the old lex generates from
>   the new scanner.l; look at the compiler or linker error messages to
>   figure out what parts of the new flex.skl you should incorporate into
>   the generated y.tab.h to make it work.
>
			[ deleted ]

---
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|For your free signature, send $5.95 to  |  Szabolcs  Szigeti               |
|  the following address:                |  Internet: pink@fsz.bme.hu       |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=