project-navigation
Personal tools

Author Topic: Update 2.2.1  (Read 24075 times)

ripclaw

  • Guest
Re: Update 2.2.1
« Reply #15 on: May 13, 2008, 09:49:32 pm »
looks to me like a pointer dangling to no-where...
some ABI change where the new xtools tries to use new header functions that are not implemented in 10.4
somewhere in the objective c message passing lib.

should be safer for now to compile on 10.4.x unless it is clear where this happens.
what version of SDL Framework do you use ? (just to rule that out...)


Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #16 on: May 13, 2008, 11:04:20 pm »
SDL 1.2.13 is used in UFO:AI 2.2.1.

The crash seems to be happening very early... I am working on creating something that will work on 10.4 - ripclaw, can I send you an updated ufo binary to test? If so, PM me your email and I can send you a link.

ripclaw

  • Guest
Re: Update 2.2.1
« Reply #17 on: May 14, 2008, 08:56:16 pm »
for sure. you got PM.

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #18 on: May 16, 2008, 06:16:31 am »
OK, anyone else want to give it a try?

http://christney.net/~tchristney/ufo_update_10_4.dmg

Copy the files inside to UFOAI.app/Contents/MacOS/

Please let me know if it works for you on 10.4.x!

SnowJack

  • Guest
Re: Update 2.2.1
« Reply #19 on: May 16, 2008, 02:07:00 pm »
I got the same error.

sniper27

  • Guest
Re: Update 2.2.1
« Reply #20 on: May 16, 2008, 03:36:30 pm »
error again....

I paste all....

Date/Time:      2008-05-16 15:34:06.621 +0200
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: ufo
Path:    /Applications/UFOAI.app/Contents/MacOS/ufo
Parent:  WindowServer [60]

Version:  2.2.1 ( 2.2.1)

PID:    399
Thread: Unknown

Link (dyld) error:

Symbol not found: _fputs$UNIX2003
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Expected in: /usr/lib/libSystem.B.dylib

Model: MacBook1,1, BootROM MB11.0061.B03, 2 processors, Intel Core Duo, 2 GHz, 2 GB
Graphics: Intel GMA 950, GMA 950, Built-In, spdisplays_integrated_vram
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 1.3.5
Bluetooth: Version 1.9.5f4, 2 service, 1 devices, 1 incoming serial ports
Network Service: Ethernet integrata, Ethernet, en0
Serial ATA Device: TOSHIBA MK6034GSX, 55.89 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857, 746.81 MB
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #21 on: May 16, 2008, 07:33:21 pm »
OK, that looks like a different problem, and one that should be fixable. Almost there, 10.4 people! I'll let you all know when I get a chance to update it again.

sniper27

  • Guest
Re: Update 2.2.1
« Reply #22 on: May 17, 2008, 12:58:30 am »
If I can help you tell me.... :-) and sorry if I not speak a lot but my english is not really good :-)

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #23 on: May 17, 2008, 05:33:35 am »
OK, can you guys try the same link as above, with the same directions and let me know if it works now.

And don't ever worry about your English. I assure you it is far, far better than my insert language here. I learned that lesson about the internet in about 1993.  ;D

sniper27

  • Guest
Re: Update 2.2.1
« Reply #24 on: May 17, 2008, 10:43:22 am »
Thanks for all Tchristney.....  :)

I just tried..... from ufo.crash.log:

Host Name:      computer-di-marco-xxx
Date/Time:      2008-05-17 10:33:23.071 +0200
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: ufo
Path:    /Applications/UFOAI.app/Contents/MacOS/ufo
Parent:  WindowServer [60]

Version:  2.2.1 ( 2.2.1)

PID:    4631
Thread: Unknown

Link (dyld) error:

Library not loaded: /opt/local/lib/libpng12.0.dylib
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/ufo
  Reason: Incompatible library version: ufo requires version 26.0.0 or later, but libpng12.0.dylib provides version 0.1.2

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #25 on: May 17, 2008, 08:45:39 pm »
Sorry, my bad - I forgot to run the old macfixlibs.pl on those binaries. Please try again - I've updated the dmg one more time (hopefully the last time!)

SnowJack

  • Guest
Re: Update 2.2.1
« Reply #26 on: May 17, 2008, 11:26:37 pm »
Date/Time:      2008-05-17 17:23:51.926 -0400
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: ufo
Path:    /Applications/UFOAI.app/Contents/MacOS/ufo
Parent:  WindowServer [67]

Version:  2.2.1 ( 2.2.1)

PID:    305
Thread: Unknown

Link (dyld) error:

Symbol not found: _pthread_rwlock_wrlock$UNIX2003
  Referenced from: /Applications/UFOAI.app/Contents/MacOS/../Libraries/libintl.8.dylib
  Expected in: /usr/lib/libSystem.B.dylib

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #27 on: May 17, 2008, 11:49:22 pm »
Gah! This is what I was really afraid of - having to recompile the MacPorts libraries!

 :'(

I'll figure out which ones I have to recompile and get back to you guys with some more libraries. Thanks for your patience!

ripclaw

  • Guest
Re: Update 2.2.1
« Reply #28 on: May 18, 2008, 03:07:26 pm »
no prob, here`s the error i got:
dyld: Library not loaded: @executable_path/../Libraries/libpng12.0.dylib
  Referenced from: /Applications/Games/UFO/UFOAI_2.2.1_sk.app/Contents/MacOS/ufo
  Reason: image not found
May 18 14:57:30 glendronach crashdump[19437]: ufo crashed
May 18 14:57:30 glendronach crashdump[19437]: crash report written to: /Users/stefan/Library/Logs/CrashReporter/ufo.crash.log


same as above. i have working 10.4. version from source, but ppc only. so basically it can be done.

@tchristney: what would have to be done to get a working fat 10.4 compiled binary instead of a ppc-only ? did this change big time from NextStep ?

Offline tchristney

  • Rookie
  • ***
  • Posts: 75
    • View Profile
Re: Update 2.2.1
« Reply #29 on: May 18, 2008, 06:48:46 pm »
It isn't actually that hard. Are you using MacPorts or fink? Using fink it can't be done, AFAIK. Using MacPorts you need to specify the +universal variant when building all the UFO:AI dependencies. When configuring UFO:AI, you call ./configure CFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk" LDFLAGS="-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk". You will also find that there are some incompatible compile options specified in several of the build/*.mk files, specifically the options are -MD -MT $@ -MP - these need to be deleted.

FWIW, this is all fixed in the trunk and you just have to run ./configure. It may also be that you don't need the isysroot parameter (I know you don't on intel 10.4).

Right now I am in the process of updating my MacPorts tree to build libraries compatible with 10.4. I think I have it figured out and should have an updated set of libraries for you guys later today.