Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-10-2010, 03: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, 07:27   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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, 18:57   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 01:34
Compiling OpenCPN on Fedora 12 inSaNo OpenCPN 9 08-12-2009 05:09
What Make Is this Boat? H28Sailor Monohull Sailboats 18 27-09-2009 21:19
did you make it? beau Multihull Sailboats 1 13-03-2007 17:37



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:57.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.