From: Barry G. <mai...@pe...> - 2004-04-04 05:08:29
|
Hi, I just checked out the CVS, as I'm interested in trying the new support for more than one network graph, but I'm unable to get it to compile. On RedHat 7.3 and 7.0, After running ./configure --with-drivers=Curses,CrystalFontz make I get: gcc -D_GNU_SOURCE -Wall -g -O2 -o lcd4linux lcd4linux.o cfg.o debug.o drv.o evaluator.o hash.o layout.o lock.o pid.o timer.o thread.o udelay.o qprintf.o widget.o widget_text.o widget_bar.o widget_icon.o plugin.o plugin_math.o plugin_string.o plugin_cfg.o plugin_uname.o plugin_loadavg.o plugin_proc_stat.o plugin_cpuinfo.o plugin_meminfo.o plugin_netdev.o plugin_ppp.o plugin_dvb.o plugin_apm.o plugin_i2c_sensors.o plugin_imon.o plugin_exec.o plugin_xmms.o plugin_seti.o drv_Crystalfontz.o drv_generic_text.o drv_generic_serial.o -lncurses -lm plugin.o: In function `plugin_init': /tmp/lcd4linux/plugin.c:215: undefined reference to `plugin_init_mysql' plugin.o: In function `plugin_exit': /tmp/lcd4linux/plugin.c:238: undefined reference to `plugin_exit_mysql' collect2: ld returned 1 exit status make: *** [lcd4linux] Error 1 How can I get this compiled? Is there an option to disable the mysql plugin? Thanks, Barry Gould |
From: Alex L. <al...@no...> - 2004-04-04 06:16:40
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I bypassed it by commenting out the line AC_CHECK_HEADERS(mysql/mysql.h) in file 'configure' since i don't find any --no-mysql or similar options available with ./configure --help. I never needed those sensors, so i never compiled it in the kernel. So i get messages like: [i2c_sensors] Impossible to open /sys/bus/i2c/devices/! Is /sys mounted? [i2c_sensors] Impossible to open /proc/sys/dev/sensors/! Is i2c_proc loaded ? [i2c_sensors] No i2c sensors found via the i2c interface ! [i2c_sensors] Try to specify the path to the sensors ! when i'm starting lcd4linux. HOwever, i don't think it matters much. Best Regards, ~Alex Barry Gould said the following on 4/4/2004 12:08 AM: | Hi, I just checked out the CVS, as I'm interested in trying the new | support for more than one network graph, but I'm unable to get it to | compile. | | On RedHat 7.3 and 7.0, After running | ./configure --with-drivers=Curses,CrystalFontz | make | | I get: | gcc -D_GNU_SOURCE -Wall -g -O2 -o lcd4linux lcd4linux.o cfg.o debug.o | drv.o evaluator.o hash.o layout.o lock.o pid.o timer.o thread.o udelay.o | qprintf.o widget.o widget_text.o widget_bar.o widget_icon.o plugin.o | plugin_math.o plugin_string.o plugin_cfg.o plugin_uname.o | plugin_loadavg.o plugin_proc_stat.o plugin_cpuinfo.o plugin_meminfo.o | plugin_netdev.o plugin_ppp.o plugin_dvb.o plugin_apm.o | plugin_i2c_sensors.o plugin_imon.o plugin_exec.o plugin_xmms.o | plugin_seti.o drv_Crystalfontz.o drv_generic_text.o | drv_generic_serial.o -lncurses -lm | plugin.o: In function `plugin_init': | /tmp/lcd4linux/plugin.c:215: undefined reference to `plugin_init_mysql' | plugin.o: In function `plugin_exit': | /tmp/lcd4linux/plugin.c:238: undefined reference to `plugin_exit_mysql' | collect2: ld returned 1 exit status | make: *** [lcd4linux] Error 1 | | | How can I get this compiled? Is there an option to disable the mysql | plugin? | | Thanks, | Barry Gould | | | | ------------------------------------------------------- | This SF.Net email is sponsored by: IBM Linux Tutorials | Free Linux tutorial presented by Daniel Robbins, President and CEO of | GenToo technologies. Learn everything from fundamentals to system | administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click | _______________________________________________ | Lcd4linux-devel mailing list | Lcd...@li... | https://lists.sourceforge.net/lists/listinfo/lcd4linux-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAb6g9B7imX08NWxERAnMrAJsEiqVfjl/6x6NcOzmLjDRPoC2TOQCfRZoF T8SdnWRNyjc4rTp4Sh6iwqo= =nmkZ -----END PGP SIGNATURE----- |
From: Xavier V. <xav...@fr...> - 2004-04-04 11:03:05
|
Hello Alex and Barry ! Barry : In fact, the mysql plugin is work in progress and Michael didn't modify the configuration stuff to make it work, so if you have the mysql headers installed it will fail. Just do as Alex says for the moment Alex : > I never needed those sensors, so i never compiled it in the kernel. So i > get messages like: > [i2c_sensors] Impossible to open /sys/bus/i2c/devices/! Is /sys mounted? > [i2c_sensors] Impossible to open /proc/sys/dev/sensors/! Is i2c_proc > loaded ? > [i2c_sensors] No i2c sensors found via the i2c interface ! > [i2c_sensors] Try to specify the path to the sensors ! Yes. I think I've been a little too verbose with this plugin, don't care about these warnings. The claim is that by now all 'plugins' and drivers are hard linked into the lcd4linux executable, but there's no configure switch to choose which ones to compile. In the future (after 0.10.0), we'll try to make plugins dynamicaly loaded, and configure switches to select plugins just as it's possible for drivers, but wait a little. Michael : Maybe you should think about this configure switch for 0.10.0 ? I'll try to do it myself if I can. Bye ! ---- Xavier Vello <xav...@fr...> |
From: Barry G. <mai...@pe...> - 2004-04-05 00:21:30
|
Hi Xavier, Thanks for responding. I'm not sure what you are saying to do, but I'll try removing the mysql headers and compiling again. (I already tried commenting the mysql driver out of Makefile.am, but then it got errors on plugins.c or something like that.) OK, looks like it compiles now (without the mysql headers installed). Thanks, Barry At 01:01 PM 4/4/2004 +0200, Xavier VELLO wrote: >Hello Alex and Barry ! > >Barry : In fact, the mysql plugin is work in progress and Michael didn't >modify the configuration stuff to make it work, so if you have the mysql >headers installed it will fail. Just do as Alex says for the moment > >Alex : > > I never needed those sensors, so i never compiled it in the kernel. So i > > get messages like: > > [i2c_sensors] Impossible to open /sys/bus/i2c/devices/! Is /sys mounted? > > [i2c_sensors] Impossible to open /proc/sys/dev/sensors/! Is i2c_proc > > loaded ? > > [i2c_sensors] No i2c sensors found via the i2c interface ! > > [i2c_sensors] Try to specify the path to the sensors ! >Yes. I think I've been a little too verbose with this plugin, don't care >about these warnings. >The claim is that by now all 'plugins' and drivers are hard linked into >the lcd4linux executable, but there's no configure switch to choose >which ones to compile. >In the future (after 0.10.0), we'll try to make plugins dynamicaly >loaded, and configure switches to select plugins just as it's possible >for drivers, but wait a little. > >Michael : Maybe you should think about this configure switch for 0.10.0 >? I'll try to do it myself if I can. > >Bye ! >---- >Xavier Vello <xav...@fr...> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Lcd4linux-users mailing list >Lcd...@li... >https://lists.sourceforge.net/lists/listinfo/lcd4linux-users |
From: Javi <ja...@gs...> - 2004-04-05 03:12:06
|
Hi. If you have MySQL installed, you can compile lcd4linux with MySQL support b= y that way: #./configure #make [make will fail: edit Makefile and replace CC =3D gcc=20 in favour of CC =3D gcc -lmysqlclient save Makefile] #make [if make fails again, repeat: edit Makefile and replace CC =3D gcc=20 in favour of CC =3D gcc -lmysqlclient save Makefile] Hope tha it helps. Javi. =2D----- El Lunes, 5 de Abril de 2004 00:20, Barry Gould escribi=F3: ------ > Hi Xavier, Thanks for responding. >=20 > I'm not sure what you are saying to do, but I'll try removing the mysql=20 > headers and compiling again. >=20 > (I already tried commenting the mysql driver out of Makefile.am, but then= =20 > it got errors on plugins.c or something like that.) >=20 > OK, looks like it compiles now (without the mysql headers installed). >=20 > Thanks, > Barry >=20 |
From: Barry G. <mai...@pe...> - 2004-04-05 01:03:04
|
Hi, in 0.98, I had to add a 5.0second sleep to the CrystalFontz.c driver. Otherwise the display never initializes correctly. In the current CVS version, I've had to do it again. Line 675: // Fixme: why such a large delay? usleep(350*1000); sleep(5); // needed for 634 V2.0 Now it is working. The scrolling speed is too fast though (for the first line- OS/kernel info); it flickers too much to read. Also, the Curses & PNG displays are missing from the sample config file. BTW, does anyone have a sample config for showing 3 nics, or 3 nics + total? Thanks, Barry Gould |
From: Alex L. <al...@no...> - 2004-04-05 01:51:34
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Really? I have a 634 v2.0, it works for me, but i agree the scrolling text of the kernel uname('machine') bla bla bla is scrolling too fast. What i did was set the line "speed 500" so it scrolls much slower. Not sure about the Curses and PNG displays and etc.. Best Regards, ~Alex Barry Gould said the following on 4/4/2004 9:02 PM: | Hi, in 0.98, I had to add a 5.0second sleep to the CrystalFontz.c driver. | | Otherwise the display never initializes correctly. | | In the current CVS version, I've had to do it again. | | Line 675: | // Fixme: why such a large delay? | usleep(350*1000); | sleep(5); // needed for 634 V2.0 | | Now it is working. | The scrolling speed is too fast though (for the first line- OS/kernel | info); it flickers too much to read. | | Also, the Curses & PNG displays are missing from the sample config file. | | BTW, does anyone have a sample config for showing 3 nics, or 3 nics + | total? | | Thanks, | Barry Gould | | | | ------------------------------------------------------- | This SF.Net email is sponsored by: IBM Linux Tutorials | Free Linux tutorial presented by Daniel Robbins, President and CEO of | GenToo technologies. Learn everything from fundamentals to system | administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click | _______________________________________________ | Lcd4linux-devel mailing list | Lcd...@li... | https://lists.sourceforge.net/lists/listinfo/lcd4linux-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAcLuiB7imX08NWxERAtaOAKC1+JV+Xp7xo4gNVotVJySefvlTkQCeNpW5 vxwg1NpPTzTk2kBjdbw5Cd0= =Vn09 -----END PGP SIGNATURE----- |
From: Michael R. <re...@eu...> - 2004-04-08 11:26:44
|
Hi Xavier, > Barry : In fact, the mysql plugin is work in progress and Michael didn't > modify the configuration stuff to make it work, so if you have the mysql > headers installed it will fail. Just do as Alex says for the moment I'm still looking for someone with deep autoconf knowledge :-) > Yes. I think I've been a little too verbose with this plugin, don't care > about these warnings. > The claim is that by now all 'plugins' and drivers are hard linked into > the lcd4linux executable, but there's no configure switch to choose > which ones to compile. > In the future (after 0.10.0), we'll try to make plugins dynamicaly > loaded, and configure switches to select plugins just as it's possible > for drivers, but wait a little. > > Michael : Maybe you should think about this configure switch for 0.10.0 > ? I'll try to do it myself if I can. No, I've a better idea:just move this initialisatin stuff into the data-fetch function, and execute it on the first call only. This way the plugin_init() function does nothing but register the plugin. Same goes for all other plugins! (Nico? are you listening?) bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Michael R. <re...@eu...> - 2004-04-08 11:36:15
|
Hi Barry, > Hi, in 0.98, I had to add a 5.0second sleep to the CrystalFontz.c driver. > > Otherwise the display never initializes correctly. > > In the current CVS version, I've had to do it again. > > Line 675: > // Fixme: why such a large delay? > usleep(350*1000); > sleep(5); // needed for 634 V2.0 Right. I removed it, because I had no idea what this is for. But as another user wrote, it works for him, and it works for mee, too. So something must be wrong with your display.... anyway, we should make this a config option, because 5 seconds are quite long... bye, michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Barry G. <mai...@pe...> - 2004-04-08 16:47:27
|
Yeah, I think the startup delay should be a config option... Also, I was looking at the little readme card that came with the display... apparently it can do things like display a factory logo or a custom logo on initialization, for 5 seconds. It's supposed to reset itself if you send data during the 5 seconds, but mine doesn't. Mine doesn't show a logo either. There are apparently commands for re-programming some of these features in flashROM but I'd rather not mess with it, as I'm not sure what I'm doing, and it says if you overflow the buffer it'll hose the ROM. Thanks, Barry At 04:36 AM 4/8/2004, you wrote: >Hi Barry, > >>Hi, in 0.98, I had to add a 5.0second sleep to the CrystalFontz.c driver. >>Otherwise the display never initializes correctly. >>In the current CVS version, I've had to do it again. >>Line 675: >> // Fixme: why such a large delay? >> usleep(350*1000); >>sleep(5); // needed for 634 V2.0 > >Right. I removed it, because I had no idea what this is for. But as >another user wrote, it works for him, and it works for mee, too. So >something must be wrong with your display.... > >anyway, we should make this a config option, because 5 seconds are quite >long... > >bye, michael > >-- >Michael Reinelt Tel: +43 676 3079941 >Geisslergasse 4 Fax: +43 316 692343 >A-8045 Graz, Austria e-mail: re...@eu... |