Flex Scanner Jammed Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Attached is the ouput of sensors -s (2.10.0) with the ocmpile flag '-d'
and also theline %nodefault  commented out of the file lib/conf-lex.l

PS.  Thanks both of you for all of your help and suggestions.  I really
appreciate it.


-----Original Message-----
From: Jean Delvare [mailto:khali at linux-fr.org] 
Sent: Wednesday, August 23, 2006 11:24 AM
To: Mark M. Hoffman; Calabro, Anthony
Cc: LM Sensors
Subject: Re:  Flex Scanner Jammed Problem

Hi Anthony, Mark,

> * Calabro, Anthony <anthony.calabro at lmco.com> [2006-08-22 16:19:55
-0400]:
> > I guess Im going to try to start over with this thread.  I have 
> > solved the Flex Scanner Jammed problem by going back to sensors
version 2.9.0.
> > When using 2.10.0 the best I could do is get label lines to parse 
> > correctly, but I never had any luck with the compute lines.  I also
> 
> Did you install 2.9.0 from source?  Looking back at the archives, you 
> actually started with 2.8.7 - it probably came with the distro.
> 
> If you were able to install 2.9.0 from source, but not 2.10.0... well 
> that is very strange.  The scanner didn't change between those
versions.
> 
> Anyway, if you're still interested in trying to debug the scanner
error:
> please add the flag '-d' to the last line of the Makefile.  It should 
> look like this:
> 
>  	$(FLEX) -Psensors_yy -t -d $< > $@
> 
> Then 'make clean' && 'make' && 'make install'.  That flag will cause 
> the scanner to make a lot of noise about what it's doing.  Send some 
> results back to this list and I'll have a look.

Another approach would be to perform a bisection. If 2.9.0 actually
works, and 2.10.0 doesn't, then a change must have broken it - even
though I just can't think of any. 2.9.0 is r2809, 2.10.0 is r3256. You
will converge after 11 iterations, should be fast enough.

> > upgraded my linux kernel from 2.6.9-34 to 2.6.9-42.  In this new 
> > version there is an i2c sensors update.

What update is this?

--
Jean Delvare


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensorsdebug.out
Type: application/octet-stream
Size: 4110 bytes
Desc: sensorsdebug.out
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060823/efebee77/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensors.conf.temp
Type: application/octet-stream
Size: 189 bytes
Desc: sensors.conf.temp
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060823/efebee77/attachment-0001.obj 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux