Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-10-2010, 02:46   #1
Registered User

Join Date: Oct 2010
Posts: 1
Unhappy Make - Problems (Compiling)

Hello,

on my Macintosh G4 Laptop with Ubuntu 10.04 LTS (Lucid Lynx) I get the following error on compiling:

/opencpn/src/s52plib.cpp: In member function ‘int s52plib::dda_tri(wxPoint*, S52color*, render_canvas_parms*, render_canvas_parms*)’:
/opencpn/src/s52plib.cpp:5436: error: impossible constraint in ‘asm’
make[2]: *** [CMakeFiles/S57ENC.dir/src/s52plib.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/S57ENC.dir/all] Fehler 2
make: *** [all] Fehler 2

Hint: "cmake ../" said no errors!

Can somebody help me solving this problem?
I proceeded as mentioned on this site:
Compiling the Source in Linux | Official OpenCPN Homepage

Thanks in advance,

Andi
schotenandi is offline   Reply With Quote
Old 10-10-2010, 06:27   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Andi,
it looks like your PowerPC is not very happy about the inline X86 Assembler code

Pavel
nohal is offline   Reply With Quote
Old 10-10-2010, 17:57   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
Pavel....

We all eventually succumb to the temptation that we can do a better job than the compiler....

I'll look at this, and add a conditional, or maybe look at the -O3 optimized machine code and see if it can be eliminated entirely.

Dave
bdbcat is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling on Fedora 12 teejayevans OpenCPN 29 01-04-2010 00:34
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 04:09
What Make Is this Boat? H28Sailor Monohull Sailboats 18 27-09-2009 20:19
did you make it? beau Multihull Sailboats 1 13-03-2007 16:37

Advertise Here


All times are GMT -7. The time now is 21:50.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.