1 Replies Last post: Apr 9, 2008 12:47 AM by Guest  
Guest

Apr 9, 2008 12:47 AM

[OpenSIPStack] OSX, darwin and xcode options?

Guest
1. Apr 9, 2008 12:47 AM in response to: Guest
Re: [OpenSIPStack] OSX, darwin and xcode options?
Hi Brad,

I have forwarded this already to Albert. He should get back to you with
more info.

Joegen

brad zdanivsky wrote:
Thank you.. here are my build outputs:

open sup stack configure:

config.status: creating make/opensipstack.mak
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating make/ptbuildopts.mak
config.status: creating make/ptlib-config
config.status: creating src/pwlib/Makefile
config.status: creating src/pwlib/plugins/Makefile
config.status: creating gnu/IPRoute2Wrapper/iproute2.mak
config.status: creating gnu/IPRoute2Wrapper/Makefile
config.status: creating include/ossbuildopts.h
config.status: include/ossbuildopts.h is unchanged
config.status: creating include/ptbuildopts.h
config.status: include/ptbuildopts.h is unchanged
config.status: creating include/opal/buildopts.h
config.status: include/opal/buildopts.h is unchanged
config.status: creating include/vxibuildopts.h
config.status: include/vxibuildopts.h is unchanged

Then make:

make P_SHAREDLIB=0 opt
make[1]: Nothing to be done for `opt'.
set -e; make -C src/pwlib optnoshared; make -C src optnoshared;
make P_SHAREDLIB=0 opt
make[2]: Nothing to be done for `opt'.
set -e; make -C src/ptlib/unix optnoshared; make -C plugins optnoshared;
make P_SHAREDLIB=0 opt
c++ -Wno-long-double -D_REENTRANT -Wall -D__MACOSX__ -m486
-I/Users/bradzdanivsky/Desktop/opensipstack/include -O2 -fno-common
-dynamic -c maccoreaudio.cxx -o
/Users/bradzdanivsky/Desktop/opensipstack/lib/obj_Darwin_x86_r/maccoreaudio.o

maccoreaudio/circular_buffer.inl: In member function ?int
CircularBuffer::Fill(const char*, PINDEX, Boolean, Boolean)?:
maccoreaudio/circular_buffer.inl:178: error: ?MIN? was not declared in
this scope
maccoreaudio/circular_buffer.inl:180: error: ?MIN? was not declared in
this scope
maccoreaudio/circular_buffer.inl:183: error: ?MIN? was not declared in
this scope
maccoreaudio/circular_buffer.inl: In member function ?PINDEX
CircularBuffer::Drain(char*, PINDEX, Boolean)?:
maccoreaudio/circular_buffer.inl:245: error: ?MIN? was not declared in
this scope
maccoreaudio/circular_buffer.inl:248: error: ?MIN? was not declared in
this scope
maccoreaudio.cxx: In destructor ?virtual
PSoundChannelCoreAudio::~PSoundChannelCoreAudio()?:
maccoreaudio.cxx:223: warning: unused variable ?error?
maccoreaudio.cxx:231: warning: unused variable ?error?
maccoreaudio.cxx:235: warning: unused variable ?error?
maccoreaudio.cxx:239: warning: unused variable ?error?
maccoreaudio.cxx:243: warning: unused variable ?error?
maccoreaudio/maccoreaudio_devices.inl: In function ?PString
CADeviceName(AudioDeviceID)?:
maccoreaudio/maccoreaudio_devices.inl:69: warning: NULL used in
arithmetic
maccoreaudio.cxx: In static member function ?static OSStatus
PSoundChannelCoreAudio::ComplexBufferFillPlayback(OpaqueAudioConverter*,
UInt32*, AudioBufferList*, AudioStreamPacketDescription**, void*)?:
maccoreaudio.cxx:414: error: ?MIN? was not declared in this scope
maccoreaudio.cxx: In static member function ?static OSStatus
PSoundChannelCoreAudio::PlayRenderProc(void*,
AudioUnitRenderActionFlags*, const AudioTimeStamp*, UInt32, UInt32,
AudioBufferList*)?:
maccoreaudio.cxx:480: warning: unused variable ?error?
maccoreaudio.cxx: In static member function ?static OSStatus
PSoundChannelCoreAudio::RecordProc(void*, AudioUnitRenderActionFlags*,
const AudioTimeStamp*, UInt32, UInt32, AudioBufferList*)?:
maccoreaudio.cxx:534: warning: unused variable ?error?
maccoreaudio.cxx:553: error: ?MIN? was not declared in this scope
maccoreaudio.cxx:567: warning: unused variable ?error?
maccoreaudio.cxx: In static member function ?static OSStatus
PSoundChannelCoreAudio::ComplexBufferFillRecord(OpaqueAudioConverter*,
UInt32*, AudioBufferList*, AudioStreamPacketDescription**, void*)?:
maccoreaudio.cxx:600: error: ?MIN? was not declared in this scope
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::CallbackSetup()?:
maccoreaudio.cxx:656: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::SetupInputUnit(AudioDeviceID)?:
maccoreaudio.cxx:696: warning: unused variable ?error?
maccoreaudio.cxx:699: warning: unused variable ?error?
maccoreaudio.cxx:702: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::EnableIO()?:
maccoreaudio.cxx:731: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::SetupOutputUnit(AudioDeviceID)?:
maccoreaudio.cxx:771: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::SetDeviceAsCurrent(AudioDeviceID)?:
maccoreaudio.cxx:795: warning: unused variable ?error?
maccoreaudio.cxx:810: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::Open(const PString&,
PSoundChannel::Directions, unsigned int, unsigned int, unsigned int)?:
maccoreaudio.cxx:846: warning: unused variable ?error?
maccoreaudio.cxx:856: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::MatchHALOutputFormat()?:
maccoreaudio.cxx:917: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::MatchHALInputFormat()?:
maccoreaudio.cxx:1029: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::SetFormat(unsigned int, unsigned int, unsigned
int)?:
maccoreaudio.cxx:1088: warning: unused variable ?error?
maccoreaudio.cxx:1110: warning: unused variable ?error?
maccoreaudio.cxx:1117: warning: unused variable ?error?
maccoreaudio.cxx:1127: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::SetBuffers(PINDEX, PINDEX)?:
maccoreaudio.cxx:1272: warning: unused variable ?error?
maccoreaudio.cxx:1282: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?OSStatus
PSoundChannelCoreAudio::SetupAdditionalRecordBuffers()?:
maccoreaudio.cxx:1334: warning: unused variable ?error?
maccoreaudio.cxx:1370: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::SetVolume(unsigned int)?:
maccoreaudio.cxx:1519: warning: unused variable ?error?
maccoreaudio.cxx:1529: warning: unused variable ?error?
maccoreaudio.cxx:1537: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::Write(const void*, PINDEX)?:
maccoreaudio.cxx:1592: warning: unused variable ?error?
maccoreaudio.cxx:1613: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::Read(void*, PINDEX)?:
maccoreaudio.cxx:1674: warning: unused variable ?error?
maccoreaudio.cxx:1696: warning: unused variable ?error?
maccoreaudio.cxx: In member function ?virtual BOOL
PSoundChannelCoreAudio::StartRecording()?:
maccoreaudio.cxx:1731: warning: unused variable ?error?
make[3]: ***
[/Users/bradzdanivsky/Desktop/opensipstack/lib/obj_Darwin_x86_r/maccoreaudio.o]
Error 1
make[2]: *** optnoshared Error 2
make[1]: *** optnoshared Error 2
make: *** optnoshared Error 2

I am on darwin osx, but want to move this into an xcode project next.

Thank you,
Brad

Joegen E. Baclor wrote:

Hi Brad,

Solegy has a softphone built for mac and is based on opensipstack. My
quick answer is yes. If you are having problems compiling just
specify them here. I am sure the Solegy guys would be happy to help
you out.

Joegen

brad zdanivsky wrote:
Hi, any one tried to get the sip stack to compile under darwin (max
os)?

I'd really like to get the stack project running with xcode.

Thanks,
brad

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday,
April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel


This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday,
April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel



This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
opensipstack-devel mailing list
opensipstack-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensipstack-devel