From: Kai H. <M5...@ha...> - 2000-09-30 23:38:52
|
Hi There, I'm following your list since a longer time, and finally I found the time to start a project using sdcc. I'was using sdcc 2.2.0a on a Windows NT machine using cygwin and it has been working fine so far. Since I updated to 2.2.1 prebuilt 27092000 I'm constantly getting the following warnings: <snip> library file /usr/local/share/lib/small/libsdcc.lib library file /usr/local/share/lib/small/libint.lib library file /usr/local/share/lib/small/liblong.lib library file /usr/local/share/lib/small/libfloat.lib ?ASlink-Warning-Undefined Global '_init_LCD' referenced by module 'LCDTest' ?ASlink-Warning-Undefined Global '_control_LCD' referenced by module 'LCDTest' ?ASlink-Warning-Undefined Global '_LCD_printxy' referenced by module 'LCDTest' </snip> It seems to be any kind of path problem, but I can't see why. When I updated sdcc I just copied the whole package into my /usr/local directory. Interesting is that sdcc obviously finds the .h-files, only the last call (linking) produces these warnings. This is the way how I'm calling sdcc: c:\usr\local\bin\sdcc --version >cc.out 2>&1 c:\usr\local\bin\sdcc -c LCD4Bit.c @ccparam.cfg >>cc.out 2>&1 c:\usr\local\bin\sdcc -c Tools.c @ccparam.cfg >>cc.out 2>&1 c:\usr\local\bin\sdcc LCDTest.c LCD4Bit.rel Tools.rel @ccparam.cfg >>cc.out 2>&1 This is the content of the ccparam.cfg file: -I./Headers / --xram-loc 0x8000 / --iram-size 0xFF / --code-loc 0x100 / --model-small / --stack-after-data Any idea ? I remember a posting of another user who seemed to have the same problem. I didn't find any posting how he solved it. So far I'm really impressed about your great work. regards, Kai |