Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Jan 20, 2018 8:52 pm

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Building from SVN fails
PostPosted: Wed Feb 27, 2008 11:53 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Feb 23, 2008 12:32 am
Posts: 294
Location: Zagreb, Croatia
First, many thanks for a great game. I used to play elite on my speccy twentysXXX, ahhh, a long time ago, and oolite is a great time-traveling machine to those good old days. :)

And now the problem. After my first build of oolite from SVN repository, every new try is failing with:

Ld /Users/goran/Documents/projects/TestRelease/Oolite.app/Contents/MacOS/Oolite normal ppc
cd "/Users/goran/Desktop/oolite svn"
/usr/bin/gcc-4.0 -o /Users/goran/Documents/projects/TestRelease/Oolite.app/Contents/MacOS/Oolite -L/Users/goran/Documents/projects/TestRelease -L/Users/goran/Desktop/oolite\ svn/deps/Cocoa-deps/Ogg\ Vorbis -F/Users/goran/Documents/projects/TestRelease -F/Users/goran/Desktop/oolite\ svn/deps/Cocoa-deps -filelist /Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/ppc/Oolite.LinkFileList -framework Carbon -framework Cocoa -framework OpenGL -framework CoreAudio -framework AudioToolbox -framework AudioUnit -lVorbisAll -lpng -lz -lOgg /Users/goran/Desktop/oolite\ svn/build/TestRelease/libjs.a -arch ppc -exported_symbols_list src/Cocoa/debug-exports.exp -Wl,-Y,1455 -mmacosx-version-min=10.3 -Wl,-dead_strip
/usr/bin/ld: Undefined symbols:
_InitOOJSSpecialFunctions
_JSSpecialFunctionsObjectWrapper
/Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/ppc/OOJavaScriptEngine.o reference to undefined _InitOOJSSpecialFunctions
/Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/ppc/OOJavaScriptEngine.o reference to undefined _JSSpecialFunctionsObjectWrapper
/Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/ppc/OODebugMonitor.o reference to undefined _JSSpecialFunctionsObjectWrapper
collect2: ld returned 1 exit status

First I tried with update, and then with a complete SVN checkout but still nothing. Couple of versions later nothing changed so i decided to post my first thread here.

iMac G5, OSX 10.4.11, xcode 2.4.1 (will be 2.5 tomorrow)

Best regards to all brave captains in the ooniverse. :)


Top
   
 Post subject:
PostPosted: Thu Feb 28, 2008 12:41 am 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
After a bit of head-scratching, I think I know what’s happening: there is a conflict between your version of the Xcode project file and the one in SVN, and SVN can’t merge them.

The easiest fix is to delete Oolite.xcodeproj (or more specifically Oolite.xcodeproj/project.pbxproj) and svn update. The second-easiest way is to just add OOJSSpecialFunctions.m to the project (it’s in src/Core/Scripting/).

_________________
E-mail: jens@oolite.org


Top
   
 Post subject:
PostPosted: Thu Feb 28, 2008 10:57 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Feb 23, 2008 12:32 am
Posts: 294
Location: Zagreb, Croatia
Thanks. I started from scratch and (after remembering to DL libpng and crashreporter) new build is up and running.

Just two things. If I choose to build UB, building fails on libVorbisAll. If I deselect Intel, all is OK.

And the other one, there is no bounty awarded for killing offenders, fugitives, thargoids (bounty: 0)... Known bug?


Top
   
 Post subject:
PostPosted: Thu Feb 28, 2008 7:54 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
Quote:
Just two things. If I choose to build UB, building fails on libVorbisAll. If I deselect Intel, all is OK.
Fails how? Please paste the build transcript. (Xcode build window, bottom left corner, button with little rows of text on it)
Quote:
And the other one, there is no bounty awarded for killing offenders, fugitives, thargoids (bounty: 0)... Known bug?
Hmm, no. Works here.

_________________
E-mail: jens@oolite.org


Top
   
 Post subject:
PostPosted: Thu Feb 28, 2008 9:33 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Feb 23, 2008 12:32 am
Posts: 294
Location: Zagreb, Croatia
Ld /Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/i386/Oolite normal i386
cd "/Users/goran/Desktop/oolite svn"
/Developer/usr/bin/gcc-4.0 -o /Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/i386/Oolite -L/Users/goran/Documents/projects/TestRelease -L/Users/goran/Desktop/oolite\ svn/deps/Cocoa-deps/Ogg\ Vorbis -F/Users/goran/Documents/projects/TestRelease -F/Users/goran/Desktop/oolite\ svn/deps/Cocoa-deps -filelist /Users/goran/Documents/projects/Oolite.build/TestRelease/Oolite.build/Objects-normal/i386/Oolite.LinkFileList -framework Carbon -framework Cocoa -framework OpenGL -framework CoreAudio -framework AudioToolbox -framework AudioUnit -lVorbisAll -lpng -lz -lOgg /Users/goran/Desktop/oolite\ svn/build/TestRelease/libjs.a -arch i386 -exported_symbols_list src/Cocoa/debug-exports.exp -Wl,-Y,1455 -mmacosx-version-min=10.4 -Wl,-dead_strip /Users/goran/Desktop/oolite\ svn/deps/Cocoa-deps/Smart\ Crash\ Reports\ SDK/SmartCrashReportsInstall.o -framework Security -isysroot /Developer/SDKs/MacOSX10.4u.sdk
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libOgg.dylib cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (file not loaded)
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_ogg_page_continued
_ogg_page_eos
_ogg_page_granulepos
_ogg_page_serialno
_ogg_stream_clear
_ogg_stream_init
_ogg_stream_packetout
_ogg_stream_packetpeek
_ogg_stream_pagein
_ogg_stream_reset
_ogg_stream_reset_serialno
_ogg_sync_buffer
_ogg_sync_clear
_ogg_sync_init
_ogg_sync_pageseek
_ogg_sync_reset
_ogg_sync_wrote
_oggpack_writeclear
_oggpack_writeinit
_oggpack_read
_oggpack_readinit
_oggpack_write
_oggpack_adv
_oggpack_look
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_page_continued
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_page_eos
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_page_granulepos
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_page_serialno
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_clear
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_init
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_packetout
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_packetpeek
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_pagein
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_reset
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_stream_reset_serialno
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_buffer
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_clear
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_init
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_pageseek
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_reset
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(vorbisfile.o) reference to undefined _ogg_sync_wrote
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(analysis.o) reference to undefined _oggpack_bytes
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(analysis.o) reference to undefined _oggpack_get_buffer
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(analysis.o) reference to undefined _oggpack_reset
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(block.o) reference to undefined _oggpack_writeclear
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(block.o) reference to undefined _oggpack_writeinit
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_bytes
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_readinit
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_reset
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_write
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_writeclear
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(info.o) reference to undefined _oggpack_writeinit
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(synthesis.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(synthesis.o) reference to undefined _oggpack_readinit
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(bitrate.o) reference to undefined _oggpack_bytes
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(bitrate.o) reference to undefined _oggpack_get_buffer
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(bitrate.o) reference to undefined _oggpack_write
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(bitrate.o) reference to undefined _oggpack_writetrunc
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(codebook.o) reference to undefined _oggpack_adv
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(codebook.o) reference to undefined _oggpack_look
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(codebook.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(codebook.o) reference to undefined _oggpack_write
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(floor0.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(floor1.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(floor1.o) reference to undefined _oggpack_write
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(mapping0.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(mapping0.o) reference to undefined _oggpack_write
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(res0.o) reference to undefined _oggpack_read
/Users/goran/Desktop/oolite svn/deps/Cocoa-deps/Ogg Vorbis/libVorbisAll.a(res0.o) reference to undefined _oggpack_write
collect2: ld returned 1 exit status

On the second problem, all ships in shipyard has price 0 in info. Up, in the list, prices are good.


Top
   
 Post subject:
PostPosted: Thu Feb 28, 2008 10:34 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
A third-party application has installed a PowerPC-only copy of libOgg.dylib in /usr/local/lib. I’ve checked in an updated project that should avoid the problem.
Quote:
On the second problem, all ships in shipyard has price 0 in info. Up, in the list, prices are good.
Hmm. I’m not seeing this either. How do you feel about doing the OXP-swapping dance? :-)

_________________
E-mail: jens@oolite.org


Top
   
 Post subject:
PostPosted: Wed Mar 05, 2008 1:43 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Wed Jul 04, 2007 3:37 pm
Posts: 353
Location: two strange quarks short of a graviton....
i know some nice music to drive the mind-numbing-ness of the task well and truly home, should you like. :wink:

_________________
arukibito ga michi wo erabu no ka, michi ga arukibito wo erabu no deshou ka?

Image
Play games. Win Amazon gift cards! Brag. Repeat.


Top
   
 Post subject:
PostPosted: Wed Mar 05, 2008 3:45 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sat Feb 23, 2008 12:32 am
Posts: 294
Location: Zagreb, Croatia
Quote:
i know some nice music to drive the mind-numbing-ness of the task well and truly home, should you like. :wink:
No need, 'couse the same thing (bounty 0, but money awarded and price 0 in ship info) happens without any OXP installed. :)

But Ahruman concluded that my iMac is broken so it's all behind us now. 8)


Top
   
 Post subject:
PostPosted: Thu Mar 06, 2008 1:36 am 
Offline
Intergalactic Spam Assassin
Intergalactic Spam Assassin
User avatar

Joined: Mon Jan 31, 2005 4:16 pm
Posts: 2157
Location: Berkshire, UK
Quote:
But Ahruman concluded that my iMac is broken so it's all behind us now. 8)
KerChing!

_________________
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


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

Search for:
Powered by phpBB® Forum Software © phpBB Limited