Hello!
looks like I managed to get all building correctly using Macports. The
test suite from mspgcc builds ok, too! But when I try to build the
OpenChronos firmware (the project I'm currently working on) i get some
strange errors:

ezchronos.o: In function `init_application':
ezchronos.c:(.text+0x40): undefined reference to `_BIS_SR'
ezchronos.c:(.text+0x58): undefined reference to `_BIC_SR'
ezchronos.c:(.text+0x9e): undefined reference to `__disable_interrupt'
ezchronos.c:(.text+0xd4): undefined reference to `__enable_interrupt'
ezchronos.o: In function `to_lpm':
ezchronos.c:(.text+0x324): undefined reference to `_BIS_SR'
ezchronos.c:(.text+0x328): undefined reference to `__no_operation'
logic/battery.o: In function `battery_measurement':
battery.c:(.text+0x36): undefined reference to `__udivmodhi4'
battery.c:(.text+0x5a): undefined reference to `__udivmodhi4'
logic/temperature.o: In function `convert_C_to_F':
temperature.c:(.text+0x102): undefined reference to `__divmodhi4'
logic/temperature.o: In function `convert_F_to_C':
temperature.c:(.text+0x126): undefined reference to `__divmodhi4'
logic/user.o: In function `set_value':
user.c:(.text+0x332): undefined reference to `__divmodsi4'
driver/display.o: In function `_itoa':
display.c:(.text+0x11e): undefined reference to `__udivmodsi4'
display.c:(.text+0x134): undefined reference to `__udivmodsi4'
driver/ports.o: In function `button_repeat_on':
ports.c:(.text+0x2ba): undefined reference to `__divmodsi4'
driver/rtca.o: In function `rtca_get_max_days':
rtca.c:(.text+0xe2): undefined reference to `__udivmodhi4'
rtca.c:(.text+0xf2): undefined reference to `__udivmodhi4'
driver/rtca.o: In function `rtca_set_date':
rtca.c:(.text+0x214): undefined reference to `__udivmodqi4'

is it possible that I misplaced some libs?
-- 
Aljaž Srebrnič
-- --
My public key <http://bit.ly/g5pw_pubkey>
About me <http://about.me/g5pw>


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to