My program compiles fine, but when I try to link it together, I get this error:
c:\mspgcc\bin\..\lib\gcc-lib\msp430\3.2.3\libgcc.a(__jump_to_main.o): In function `__jump_to_main': (.init9+0x2): undefined reference to `main' make[1]: *** [main.elf] Error 1 make: *** [newmodule] Error 2 I'm invoking the compiler this way: msp430-gcc -mmcu=msp430xG4618 -Wl,-Map=./main.map,--cref --output main.elf newmodule.o libs/libmain.a libs/libkernel.a libs/libmail.a libs/libversion.a the archive libmain.a contains a function with the signature "int main(void)". Is there something else I need to do to get this to link properly? Thanks for any insight you can provide!!! -Woodrow Douglass
