Cruisers Forum

Join CruisersForum Today

Thread Tools Rate Thread Display Modes
Old 10-10-2010, 02:46   #1
Registered User

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


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,

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

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,881
it looks like your PowerPC is not very happy about the inline X86 Assembler code

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

Join Date: Mar 2008
Posts: 4,465

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.

bdbcat is offline   Reply With Quote

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 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

Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities

Copyright 2002-2015 Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:47.

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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.