SCTP Discussions

Text archives Help


[SCTP-Discussion] socketapi & MacOS X 10.4


Chronological Thread 
  • From: Andreas Fink <afink AT global-networks.ch>
  • To: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • Cc: "discussion (E-mail)" <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] socketapi & MacOS X 10.4
  • Date: Tue Sep 20 23:22:01 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

Hello again,

For socketapi under MacOS X 10.4 similar compilation flags are needed.

wget http://www.sctp.de/download/socketapi-1.7.0.tar.gz
tar -xvzf socketapi-1.7.0.tar.gz
cd socketapi-1.7.0

edit "configure" and remove "-ansi" on darwin section

export CFLAGS="-O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/ usr/local/lib -I/usr/local/include -fno-omit-frame-pointer -arch ppc - arch i386"
export CXXFLAGS="-O3 -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -L/ usr/local/lib -I/usr/local/include -fno-omit-frame-pointer -arch ppc - arch i386"
export LDFLAGS=" -lstdc++ -arch ppc -arch i386"
./configure --disable-shared --enable-static --mandir=/usr/local/man --with-glib-prefix=/usr/local --disable-dependency-tracking
make
sudo make install


A note about socketapi: It is lacking documentation totally. I would like to use it in my app but I have no clue where to start.
I know its useful to prepare for real kernel sockets lateron but there must be a daemon handling it. There's none being installed, neither one being spotted somehow. Anyone have a small hint here?



Andreas Fink
Global Networks Schweiz AG

------------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks Schweiz AG. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/
afink AT global-networks.ch
------------------------------------------------------------------
ICQ: 101946485 MSN:
msn1 AT gni.ch
AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201 5CBD D040 3E71 4DAF 68BB






Archive powered by MHonArc 2.6.19+.

Top of page