OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
Failed when compiling and linking the Helloworld example.

 
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> First time - readme
View previous topic :: View next topic  
Author Message
ZhangLianxin



Joined: 25 Nov 2014
Posts: 5

PostPosted: Wed Mar 18, 2015 11:04 pm    Post subject: Failed when compiling and linking the Helloworld example. Reply with quote

Hello, I type the command.
make -f ${IMPERAS_HOME}/ImperasLib/buildutils/Makefile.platform NOVLNV=1 clea


Here are error messages.
:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingw32.a(setargv.o):(.text+0x
30): undefined reference to `__chkstk_ms'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o):(.text+0x673
): undefined reference to `__chkstk_ms'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o):(.text+0x7e0
): undefined reference to `__chkstk_ms'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o):(.text+0x81d
): undefined reference to `__chkstk_ms'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o):(.text+0x934
): undefined reference to `__chkstk_ms'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o):(.text+0xb78
): more undefined references to `__chkstk_ms' follow
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: d:/mingw/b
in/../lib/gcc/mingw32/4.8.1/../../../libmingwex.a(glob.o): bad reloc address 0x2
0 in section `.eh_frame'
d:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: final link
failed: Invalid operation
make: *** [platform.Windows32.exe] Error 1
/d/Imperas/Examples/HelloWorld

Thx!!
Back to top
View user's profile Send private message
DuncGrah
OVP Technologist
OVP Technologist


Joined: 27 Feb 2008
Posts: 1639
Location: United Kingdom

PostPosted: Mon Mar 23, 2015 6:11 am    Post subject: Reply with quote

What version of the mingw cross compiler have you installed?

There is a version provided on the resources page of the OVPWOrld website that we know to work with the OVP build environment.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> First time - readme All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Information regarding OVP © 2008-2022 Imperas Software