From: <li...@ya...> - 2003-01-18 09:46:17
|
Thanx friends ... I got it solved.. after half a day of trials ... My karthik.c is follows - ========= # include<stdio.h> unsigned char _sdcc_external_startup() { return 0; } void main(void) { unsigned char atm[]="karthik"; } karthik bala guru tka...@ya... --- Robin Singh <net...@et...> wrote: > __sdcc_external_startup is a sort of "stub" provided > for actions to be > performed before main() is invoked. > > This function is defined in the libraries provided > but the definition is just > a place holder that returns a zero. (There's a > reason for this). > > As has been suggested, provide the absolute path to > the sdcc libs to sdcc with > the -L switch to work around the error. > > Alternatively, you could define the function > yourself. > > It seems to me that Mr.karthik is undergoing the > necessary trauma that I went > through when learning to use sdcc. > My honest advice is to spend an evening poring over > all the supplied compiler > and linker dox and a lot of things shall fall in > place. > > Regards. > Robin. > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Thawte.com - A > 128-bit supercerts will > allow you to extend the highest allowed 128 bit > encryption to all your > clients even if they use browsers that are limited > to 40 bit encryption. > Get a guide > here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |