If you will provide a complete standalone example that reproduces the problem I'll take a look at this. The fragments you posted before(menu.h, menu.c, main.c) aren't complete and I don't really have time to try to fill out the missing pieces. Best way would be to file it as a bug on the mspgcc4 sourceforge bug page and add the attachments there.
A small example please; I don't want to deal with the whole Chronos SDK. Peter On Fri, Jun 11, 2010 at 7:46 AM, Paul F. Sehorne <[email protected]> wrote: > Yesterday I installed mspgcc4 on a Ubuntu 9.10 Linux machine and copied my > TI eZChronos Sports Watch project to the machine. Upon building the program > I get the same error as when building on Windows 7. > > This is a showstopper for me. I cannot proceed with mspgcc4 as long as > this problem exists. > > To reiterate one of my previous posts, the problem (in my case) has to do > with pointers to functions. Both of the following two lines from TI Sports > Watch main.c cause the error. > > > ptrMenu_L1 =&menu_L1_Time; > fptr_lcd_function_line1 = ptrMenu_L1->display_function; > > > TI's code makes extensive use of pointers to function for the many menus. > I can see me writing code of my own without pointers to functions. Thus, > this is a show stopper for mspgcc4 and me. And surely I am not the only one > experiencing this problem. > > Paul > > > > > On 6/1/2010 3:33 PM, Paul F. Sehorne wrote: > >> C:\Users\Paul\cc16wBFJ.o: In function `display_update': >> main.c:(.text+0x108): warning: internal error: unsupported relocation >> error >> main.c:(.text+0x1ea): warning: internal error: unsupported relocation >> error >> C:\Users\Paul\cc16wBFJ.o: In function `wakeup_event': >> main.c:(.text+0x29a): warning: internal error: unsupported relocation >> error >> >> > > -- > Paul > > > Sehorne owned or managed Web Sites > > * Airport Homes <http://airporthomes.org/> > * Female Body Building <http://bodybuilding.sehorne.net/> > * Credit Repair <http://creditrepair.sehorne.net/> > * Personal Loans <http://personalloans.sehorne.net/> > * Shopping <http://shop.sehorne.net/> > * Hidden Valley Airpark <http://hiddenvalleyairpark.org/> > > > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > >
