Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
HI,
It's been exactly 48 hours so I am bumping. Is this a known issue? I
realize that a lot of projects build systems broke in Snow Leopard
because Apple removed ppc64 support outright. I am able to build
single architectures only on each box arch and then lipo them, however
a pain.
Thx,
2k48
On Oct 9, 2009, at 7:15 PM, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
I'm having a ,possibly unrelated, problem where I'm not getting a
build at all from an error in core audio in portaudio under snow
leopard:
I'll affix the logs:
Anyone got any idea on how to fix this bad boy? I'm fairly adept
working with the pjsip code now, but the core audio stuff is a whole
new world of pain to me :(
In file included from src/pa_mac_core.c:1:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘PaMacCore_GetChannelName’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:138:
warning: ‘AudioDeviceGetPropertyInfo’ is deprecated (declared at /
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:149:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:157:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:191:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘gatherDeviceInfo’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:328:
warning: ‘AudioHardwareGetPropertyInfo’ is deprecated (declared at /
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:
1098)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:341:
warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:360:
warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:377:
warning: ‘AudioHardwareGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:1119)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘GetChannelInfo’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:418:
warning: ‘AudioDeviceGetPropertyInfo’ is deprecated (declared at /
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:425:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:446:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘InitializeDeviceInfo’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:496:
warning: ‘AudioDeviceGetPropertyInfo’ is deprecated (declared at /
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:
2338)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:503:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:510:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘OpenAndSetupOneAudioUnit’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:
‘ComponentDescription’ undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:
(Each undeclared identifier is reported only once
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:
for each function it appears in.)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:800: error:
expected ‘;’ before ‘desc’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:801: error:
‘Component’ undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:801: error:
expected ‘;’ before ‘comp’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:866: error:
‘desc’ undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:872: error:
‘comp’ undeclared (first use in this function)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:872:
warning: implicit declaration of function ‘FindNextComponent’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:881:
warning: implicit declaration of function ‘OpenAComponent’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:943:
warning: ‘AudioDeviceAddPropertyListener’ is deprecated (declared at /
System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:
2430)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1228:
warning: implicit declaration of function ‘CloseComponent’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘OpenStream’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1376:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1386:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1401:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1411:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1619:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1632:
warning: ‘AudioDeviceGetProperty’ is deprecated (declared at /System/
Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:2367)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘AudioIOProc’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:1911:
warning: ‘AudioConverterFillBuffer’ is deprecated (declared at /System/
Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2080:
warning: ‘AudioConverterFillBuffer’ is deprecated (declared at /System/
Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:640)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘CloseStream’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2148:
warning: ‘AudioDeviceRemovePropertyListener’ is deprecated (declared
at /System/Library/Frameworks/CoreAudio.framework/Headers/
AudioHardware.h:2456)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2157:
warning: ‘AudioDeviceRemovePropertyListener’ is deprecated (declared
at /System/Library/Frameworks/CoreAudio.framework/Headers/
AudioHardware.h:2456)
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: At top
level:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2230:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before
‘BlockWhileAudioUnitIsRunning’
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In
function ‘StopStream’:
src/../../../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2262:
warning: implicit declaration of function ‘BlockWhileAudioUnitIsRunning’
make[3]: *** [output/libportaudio-i386-apple-darwin10.0.0/
pa_mac_core.o] Error 1
make[2]: *** [libportaudio] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
On 12/10/2009, at 7:24 AM, twok48bit wrote:
HI,
It's been exactly 48 hours so I am bumping. Is this a known issue? I
realize that a lot of projects build systems broke in Snow Leopard
because Apple removed ppc64 support outright. I am able to build
single architectures only on each box arch and then lipo them,
however a pain.
Thx,
2k48
On Oct 9, 2009, at 7:15 PM, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator.
Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
---==
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill@gmail.com 0400247091
Ask me about how Alfresco can help your business grow.
Hi,
I’m building pjproject 1.0.3 like this:
$ CFLAGS="-O2 -Wall -arch i386 -isysroot /Developer/SDKs/
MacOSX10.5.sdk -mmacosx-version-min=10.3"
LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-
version-min=10.3"
./configure
$ make
-isysroot and -mmacosx-version-min options are here to make portaudio
happy.
When I added “-arch ppc” to build a universal binary, my ppc users
started to complain about the distorted sound. I’ve been writing to
this list about this issue, but no response so far.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/007999.html
So I ended up building pjroject on PPC machine and gluing binaries
with “lipo” tool.
When I’m adding “-arch x86_64”, I’m getting an assertion when
unplugging headphones.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009094.html
Alexei
On 10 Oct, 2009, at 3:15, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Is there a particular reason your using 1.0.3 rather than 1.4. even
with the sysroot stuff I still get the same compile errors. :(
On 13/10/2009, at 7:31 AM, Alexei Kuznetsov wrote:
Hi,
I’m building pjproject 1.0.3 like this:
$ CFLAGS="-O2 -Wall -arch i386 -isysroot /Developer/SDKs/
MacOSX10.5.sdk -mmacosx-version-min=10.3"
LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -
mmacosx-version-min=10.3"
./configure
$ make
-isysroot and -mmacosx-version-min options are here to make
portaudio happy.
When I added “-arch ppc” to build a universal binary, my ppc users
started to complain about the distorted sound. I’ve been writing to
this list about this issue, but no response so far.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/007999.html
So I ended up building pjroject on PPC machine and gluing binaries
with “lipo” tool.
When I’m adding “-arch x86_64”, I’m getting an assertion when
unplugging headphones.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009094.html
Alexei
On 10 Oct, 2009, at 3:15, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator.
Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
---==
Shayne O'Neill Development
Mobile, Web and Business process integration.
shayne.oneill@gmail.com 0400247091
Ask me about how Alfresco can help your business grow.
1.4 just didn’t work properly on a Mac when I tried it last time. I
don’t remember exactly what it was.
Alexei
On 13 Oct, 2009, at 5:37, Shayne O'Neill wrote:
Is there a particular reason your using 1.0.3 rather than 1.4. even
with the sysroot stuff I still get the same compile errors. :(
On 13/10/2009, at 7:31 AM, Alexei Kuznetsov wrote:
Hi,
I’m building pjproject 1.0.3 like this:
$ CFLAGS="-O2 -Wall -arch i386 -isysroot /Developer/SDKs/
MacOSX10.5.sdk -mmacosx-version-min=10.3"
LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -
mmacosx-version-min=10.3"
./configure
$ make
-isysroot and -mmacosx-version-min options are here to make
portaudio happy.
When I added “-arch ppc” to build a universal binary, my ppc users
started to complain about the distorted sound. I’ve been writing to
this list about this issue, but no response so far.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/007999.html
So I ended up building pjroject on PPC machine and gluing binaries
with “lipo” tool.
When I’m adding “-arch x86_64”, I’m getting an assertion when
unplugging headphones.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009094.html
Alexei
On 10 Oct, 2009, at 3:15, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator.
Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Hi guys,
Just want to share few things after trying to build universal binaries
on Intel based Mac OS X... desperately (as I know almost nothing about
this GNU make and Mac stuffs! so please pardon me if the following
sounds stupid).
This technote [1] mentions:
"The --disable-dependency-tracking option to configure causes it to
not use gcc's built-in dependency generation code, which does not work
with multiple -arch targets."
Perhaps this explains why "make dep" failed, so don't do that in
building universal binaries.
run configure as below:
if you build from PPC, perhaps you should specify additional option
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk" in above CFLAGS.
when working with new audio dev framework (1.1 or later), apply
patch r2975 [2] or just update your source from the latest SVN.
invoke 'make clean/distclean' then 'make', should build fine, then
check the binaries result with 'file' tool.
The pjsua seems to work fine on my machine, unfortunately no PPC
machine to test/debug distorted sound issue.
BR,
nanang
On Tue, Oct 13, 2009 at 5:40 PM, Alexei Kuznetsov eofster@gmail.com wrote:
1.4 just didn’t work properly on a Mac when I tried it last time. I don’t
remember exactly what it was.
Alexei
On 13 Oct, 2009, at 5:37, Shayne O'Neill wrote:
Is there a particular reason your using 1.0.3 rather than 1.4. even with
the sysroot stuff I still get the same compile errors. :(
On 13/10/2009, at 7:31 AM, Alexei Kuznetsov wrote:
Hi,
I’m building pjproject 1.0.3 like this:
$ CFLAGS="-O2 -Wall -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.3"
LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.3"
./configure
$ make
-isysroot and -mmacosx-version-min options are here to make portaudio
happy.
When I added “-arch ppc” to build a universal binary, my ppc users
started to complain about the distorted sound. I’ve been writing to this
list about this issue, but no response so far.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/007999.html
So I ended up building pjroject on PPC machine and gluing binaries with
“lipo” tool.
When I’m adding “-arch x86_64”, I’m getting an assertion when unplugging
headphones.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009094.html
Alexei
On 10 Oct, 2009, at 3:15, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Hi Nanang,
When I specify both architectures like that, my PPC users start
complaining to the distorted sound. So I ended up building pjsip
separately on Intel and PPC Macs and combining binaries with ‘lipo’
tool. I’m using version 1.0.3 of pjsip.
Alexei
On Thu, Oct 29, 2009 at 7:14 AM, Nanang Izzuddin nanang@pjsip.org wrote:
Hi guys,
Just want to share few things after trying to build universal binaries
on Intel based Mac OS X... desperately (as I know almost nothing about
this GNU make and Mac stuffs! so please pardon me if the following
sounds stupid).
This technote [1] mentions:
"The --disable-dependency-tracking option to configure causes it to
not use gcc's built-in dependency generation code, which does not work
with multiple -arch targets."
Perhaps this explains why "make dep" failed, so don't do that in
building universal binaries.
run configure as below:
if you build from PPC, perhaps you should specify additional option
"-isysroot /Developer/SDKs/MacOSX10.4u.sdk" in above CFLAGS.
when working with new audio dev framework (1.1 or later), apply
patch r2975 [2] or just update your source from the latest SVN.
invoke 'make clean/distclean' then 'make', should build fine, then
check the binaries result with 'file' tool.
The pjsua seems to work fine on my machine, unfortunately no PPC
machine to test/debug distorted sound issue.
BR,
nanang
On Tue, Oct 13, 2009 at 5:40 PM, Alexei Kuznetsov eofster@gmail.com wrote:
1.4 just didn’t work properly on a Mac when I tried it last time. I don’t
remember exactly what it was.
Alexei
On 13 Oct, 2009, at 5:37, Shayne O'Neill wrote:
Is there a particular reason your using 1.0.3 rather than 1.4. even with
the sysroot stuff I still get the same compile errors. :(
On 13/10/2009, at 7:31 AM, Alexei Kuznetsov wrote:
Hi,
I’m building pjproject 1.0.3 like this:
$ CFLAGS="-O2 -Wall -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.3"
LDFLAGS="-arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.3"
./configure
$ make
-isysroot and -mmacosx-version-min options are here to make portaudio
happy.
When I added “-arch ppc” to build a universal binary, my ppc users
started to complain about the distorted sound. I’ve been writing to this
list about this issue, but no response so far.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-July/007999.html
So I ended up building pjroject on PPC machine and gluing binaries with
“lipo” tool.
When I’m adding “-arch x86_64”, I’m getting an assertion when unplugging
headphones.
http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2009-October/009094.html
Alexei
On 10 Oct, 2009, at 3:15, twok48bit wrote:
Hi,
When building universal binaries the following fails:
CFLAGS="-arch x86_64 -arch ppc -arch i386 -g" ./configure
make dep && make clean && make
with:
.pjlib-i386-apple-darwin10.0.0.depend:1: *** missing separator. Stop.
make[1]: *** [clean] Error 2
make: *** [clean] Error 1
Help?
thx