Subject: Successful build on OS X (intel)

From: tasty
Date: Thu Aug 31 20:39:50 2006

To: UADE-Developer-discussion
Just to let anyone interested know, I've built UADE-2.03 successfully on my Macbook pro running OS X v10.4.7

Notes:

./configure --without-xmms  #problem with objcopy

libao installed via darwinports v1.3.1
http://svn.macports.org/repository/macports/downloads/Darwinports-1.3.1/

Good stuff,
Now onto developing a native frontend :)

---

From: mld/uade team
Date: Thu Aug 31 22:38:19 2006

:-D

mld/uade team

---

From: shd
Date: Tue Sep 5 09:21:08 2006

To: UADE-Developer-discussion
[quote:a310a27b4f="tasty"]./configure --without-xmms  #problem with objcopy[/quote:a310a27b4f]

What's the error with objcopy? Please post a compilation log here. Doesn't &quot;objcopy -G symbolname&quot; work on osx? Maybe the frontend library should be compiled with different options. Removing the objcopy command is possible but all names other than &quot;get_iplugin_info&quot; should be made local symbols.

---

From: Guest
Date: Wed Sep 13 08:39:31 2006

To: UADE-Developer-discussion
I have binutils 2.16.1_0  installed via darwinports and I've created a symbolic link from /opt/local/bin/gobjcopy to /usr/bin/objcopy.

Here is a snippet from the build log where it fails:

objcopy -G get_iplugin_info libuade2.so
objcopy: styJDS31: Invalid operation
make[1]: *** [libuade2.so] Error 1
make: *** [xmmsplugin] Error 2

.
This may be of interest.
http://binutils.darwinports.com/

.

---

From: shd
Date: Fri Sep 15 13:10:49 2006

To: UADE-Developer-discussion
[quote:87ee14b50d="Anonymous"]I have binutils 2.16.1_0  installed via darwinports and I've created a symbolic link from /opt/local/bin/gobjcopy to /usr/bin/objcopy.

.
This may be of interest.

.[/quote:87ee14b50d]

Care to find out what would be a proper replacement option? Would the xmms build well if you removed the &quot;-G get_iplugin_info&quot; part? Would it also be runnable then?

---

From: tasty
Date: Sat Sep 16 11:31:11 2006

.[/quote]

Care to find out what would be a proper replacement option? Would the xmms build well if you removed the &quot;-G get_iplugin_info&quot; part? Would it also be runnable then?[/quote]

Ok, the XMMS plugin is working now.

Removed line with &quot;$(OBJCOPY) -G get_iplugin_info $@&quot; from:

./src/frontends/xmms/Makefile.in

Tried a few tracks from Exotica, random selection of formats, seems to be working great.

Many thanks to UADE team.

---

From: shd
Date: Sat Sep 16 11:38:45 2006

To: UADE-Developer-discussion
[quote:d8a036be1b="tasty"]Removed line with &quot;$(OBJCOPY) -G get_iplugin_info $@&quot; from:[/quote:d8a036be1b]

Even though it seems to work, it is now broken because there is a possibility of symbol conflict. You should try to find out the proper option for objcopy. Just removing the objcopy line for mac would be a damaging work-around.

btw. you can acquire lots of exotic songs (318 MiB) easily by using rsync:
[code:1:d8a036be1b]rsync -avP zakalwe.fi&#58;&#58;chip /local/path/
[/code:1:d8a036be1b]

rsync is efficient protocol as it avoids transfering same files twice on future updates.

---

From: tasty
Date: Sat Sep 16 11:54:32 2006

To: UADE-Developer-discussion
[quote:93693d6bda="shd"]Even though it seems to work, it is now broken because there is a possibility of symbol conflict. You should try to find out the proper option for objcopy. Just removing the objcopy line for mac would be a damaging work-around.[/quote:93693d6bda]

I agree competely and will look into it.

Thanks for the rsync information.

---

From: skn
Date: Mon Oct 2 00:43:14 2006

To: UADE-Developer-discussion
[quote=&quot;tasty&quot;]Just to let anyone interested know, I've built UADE-2.03 successfully on my Macbook pro running OS X v10.4.7

Notes:

Good stuff,
Now onto developing a native frontend :)[/quote

Just a note for those who want to compile it too... You must have pkgconfig installed via darwinports too...
Thank you tasty!

---

From: shd
Date: Mon Oct 2 21:45:52 2006

To: UADE-Developer-discussion
[quote:b5eddd43bd="tasty"]will look into it.[/quote:b5eddd43bd]
Good. I added a remark about this into INSTALL.readme:
[code:1:b5eddd43bd]*** Hints for Mac OS X
 - Install libao and pkg-config from MacPorts &#40;http&#58;//www.macports.org&#41;
 - If compiling the XMMS plugin fails, either
        * use --without-xmms for the configure script
   or or try a hack&#58;
        * Remove line
            $&#40;OBJCOPY&#41; -G get_iplugin_info $@
          from src/frontends/xmms/Makefile after you have run the
          configure script. This work-around can be useful if the compilation
          fails with following kind of error&#58;

            objcopy -G get_iplugin_info libuade2.so
            objcopy&#58; styJDS31&#58; Invalid operation
            make&#91;1&#93;&#58; *** &#91;libuade2.so&#93; Error 1
[/code:1:b5eddd43bd]

---

From: spot
Date: Thu Nov 2 08:53:00 2006

To: UADE-Developer-discussion
woaah cool to finally see a new compile for macs!
any chanse you'll make ppc versions of the exe and your frontend?

---

From: shd
Date: Thu Nov 2 14:27:49 2006

To: UADE-Developer-discussion
[quote:7befb97503="spot"]woaah cool to finally see a new compile for macs!
any chanse you'll make ppc versions of the exe and your frontend?[/quote:7befb97503]
We don't make binaries for any platform. Binaries should be distributed through package repositories like fink et al, because they can do it a lot better.