From: Theo S. <to...@sc...> - 2005-12-18 16:51:11
|
Hi, i write drv_LUIse.c for the USB LCD from www.wallbraun-electonics.de using his libluise. But now i dont know how do i check if libluise and luise.h are installed? I use an CVS checkout from last week and all work fine. Today i checkout lcd4linux again and now i cant compile my driver, error Message is : o plugin_sample.o plugin_seti.o plugin_statfs.o plugin_uname.o plugin_uptime.o plugin_wireless.o plugin_xmms.o -L/usr/local/lib -lluise -lm widget_icon.o: In function `widget_icon_init': widget_icon.c:(.text+0x217): undefined reference to `YRES' widget_icon.c:(.text+0x36b): undefined reference to `YRES' drv_LUIse.o: In function `drv_LUIse_blit': drv_LUIse.c:(.text+0x1f): undefined reference to `LCOLS' drv_LUIse.c:(.text+0x26): undefined reference to `drv_generic_graphic_FB' drv_LUIse.o: In function `drv_LUIse_quit': drv_LUIse.c:(.text+0x1cd): undefined reference to `drv_generic_graphic_qu= it' drv_LUIse.c:(.text+0x205): undefined reference to `drv_generic_graphic_greet' drv_LUIse.o: In function `drv_LUIse_init': drv_LUIse.c:(.text+0x5ec): undefined reference to `DROWS' drv_LUIse.c:(.text+0x5f9): undefined reference to `DCOLS' drv_LUIse.c:(.text+0x608): undefined reference to `DROWS' drv_LUIse.c:(.text+0x615): undefined reference to `DCOLS' drv_LUIse.c:(.text+0x641): undefined reference to `XRES' drv_LUIse.c:(.text+0x648): undefined reference to `YRES' drv_LUIse.c:(.text+0x78d): undefined reference to `drv_generic_graphic_in= it' drv_LUIse.c:(.text+0x7da): undefined reference to `drv_generic_graphic_dr= aw' drv_LUIse.c:(.text+0x81b): undefined reference to `drv_generic_graphic_icon_draw' drv_LUIse.c:(.text+0x85c): undefined reference to `drv_generic_graphic_bar_draw' drv_LUIse.c:(.text+0x9c7): undefined reference to `DROWS' drv_LUIse.c:(.text+0x9ec): undefined reference to `DCOLS' drv_LUIse.c:(.text+0xa00): undefined reference to `drv_generic_graphic_greet' drv_LUIse.c:(.text+0xa17): undefined reference to `drv_generic_graphic_clear' collect2: ld gab 1 als Ende-Status zur=FCck make[1]: *** [lcd4linux] Fehler 1 make[1]: Leaving directory `/home/tooly/lcd/lcd4linux-cvs_20051218' make: *** [all] Fehler 2 tooly@schneider-berlin:~/lcd/lcd4linux-cvs_20051218$ mfg Theo |
From: Michael R. <re...@eu...> - 2005-12-18 18:46:02
|
Hi Theo, > i write drv_LUIse.c for the USB LCD from www.wallbraun-electonics.de > using his libluise. But now i dont know how do i check if libluise and > luise.h are installed? Hmm.... you'll have to fight with autoconf. Take a look at configure.am and drivers.m4. Some of the drivers require a library ind a include file, too. Look for "libusb" or something... But be warned: This ist complicated stuff..... > I use an CVS checkout from last week and all work fine. > > Today i checkout lcd4linux again and now i cant compile my driver, error > Message is : Did you try a 'make clean' before? If you have all the autoconf/automake stuff installed, try a './bootstrap'. bye, michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Theo S. <to...@sc...> - 2005-12-18 19:28:34
|
Hi Michael, hm, i see in drivers.m4 that serdisplib use: if test "$has_serdisplib" = "true" so i thought lcd4linux will do the work for me. mfg Theo Michael Reinelt schrieb: >Hi Theo, > > > >>i write drv_LUIse.c for the USB LCD from www.wallbraun-electonics.de >>using his libluise. But now i dont know how do i check if libluise and >>luise.h are installed? >> >> > >Hmm.... you'll have to fight with autoconf. Take a look at configure.am >and drivers.m4. Some of the drivers require a library ind a include >file, too. Look for "libusb" or something... > >But be warned: This ist complicated stuff..... > > > >>I use an CVS checkout from last week and all work fine. >> >>Today i checkout lcd4linux again and now i cant compile my driver, error >>Message is : >> >> > >Did you try a 'make clean' before? > >If you have all the autoconf/automake stuff installed, try a './bootstrap'. > > >bye, michael > > > |
From: Michael R. <re...@eu...> - 2005-12-20 20:19:02
|
Hi Theo, > hm, i see in drivers.m4 that serdisplib use: if test "$has_serdisplib" = > "true" > > so i thought lcd4linux will do the work for me. No, it won't. Have a look at configure.in and search for "has_serdisplib". There should be a macro or function or something that tests for serdisplib and sets this variable accordingly. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Theo S. <to...@sc...> - 2005-12-20 21:40:09
|
Michael Reinelt schrieb: >Hi Theo, > > > >>hm, i see in drivers.m4 that serdisplib use: if test "$has_serdisplib" = >>"true" >> >>so i thought lcd4linux will do the work for me. >> >> > >No, it won't. Have a look at configure.in and search for >"has_serdisplib". There should be a macro or function or something that >tests for serdisplib and sets this variable accordingly. > > >bye, Michael > > > Hi Michael, thanks for this ip, now has_luise work. mfg Theo |
From: Theo S. <to...@sc...> - 2005-12-18 19:49:46
|
Michael Reinelt schrieb: > snip > > > >>I use an CVS checkout from last week and all work fine. >> >>Today i checkout lcd4linux again and now i cant compile my driver, error >>Message is : >> >> > >Did you try a 'make clean' before? > >If you have all the autoconf/automake stuff installed, try a './bootstrap'. > > >bye, michael > > > Hi, i did an fresh checkout and edit Makefile.am, drivers.m4, drv.c, then ./bootstap - ./configure --with-drivers=LUIse - make Thats the same way i do last week mfg Theo icq: 295 364 295 |
From: Michael R. <re...@eu...> - 2005-12-20 20:20:51
|
Hi Theo, >>>I use an CVS checkout from last week and all work fine. >>> >>>Today i checkout lcd4linux again and now i cant compile my driver, error >>>Message is : >>Did you try a 'make clean' before? > i did an fresh checkout and edit Makefile.am, drivers.m4, drv.c, then > ./bootstap - ./configure --with-drivers=LUIse - make > Thats the same way i do last week I'm pretty sure you forgot to set a variable in drivers.m4, probably "graphic=yes" or something. You could try to omit the '--with-drivers=...' parameter, so that all helper objects get linked in. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Theo S. <to...@sc...> - 2005-12-20 21:40:40
|
Michael Reinelt schrieb: >Hi Theo, > > > >>>>I use an CVS checkout from last week and all work fine. >>>> >>>>Today i checkout lcd4linux again and now i cant compile my driver, error >>>>Message is : >>>> >>>> > > > >>>Did you try a 'make clean' before? >>> >>> > > > >>i did an fresh checkout and edit Makefile.am, drivers.m4, drv.c, then >>./bootstap - ./configure --with-drivers=LUIse - make >>Thats the same way i do last week >> >> > >I'm pretty sure you forgot to set a variable in drivers.m4, probably >"graphic=yes" or something. > >You could try to omit the '--with-drivers=...' parameter, so that all >helper objects get linked in. > >bye, Michael > > > Hi Michael, ok, make an fresh checkout, edit the files and now all work. mfg Theo |