I deleted the references to malloc.h. I downloaded libosip 0.9.2 and installed manually from source, and the linphone compatibility errors with the fink libosip (in unstable) went away. 0.9.2 maked and installed without a hitch btw. I deleted the fink libosip by hand from /sw.

Now I think I'm getting close to finishing making linphone. I've got a link error, multiple definitions of symbols:

gcc -g -O2 -Wall -Wunused -o .libs/linphone main.o LinphoneMain.o gui_utils.o support.o interface.o callbacks.o presence.o propertybox.o /sw/lib/libintl.dylib /sw/lib/libiconv.dylib ../mediastreamer/audiostream.o -L/sw/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lintl -liconv -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lz -L../osipua/src/.libs -losipua -L/usr/local/lib -losip -lfsmtl -L../oRTP/src/.libs -L../mediastreamer/.libs -lmsspeex -L/Users/woodside/sandbox/linphone-0.9.1/mediastreamer/.libs -lmediastreamer -lgmodule -ldl -L/Users/woodside/sandbox/linphone-0.9.1/oRTP/src/.libs -lortp -lgthread -lglib -lpthread -L/Users/woodside/sandbox/linphone-0.9.1/speex/libspeex/.libs -lspeex -lm -lc
ld: multiple definitions of symbol _g_file_test
../mediastreamer/.libs/libmediastreamer.dylib(msoss.lo) definition of _g_file_test
/sw/lib/libgnome.dylib(gnome-util.lo) definition of _g_file_test
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _g_file_test used from dynamic library ../mediastreamer/.libs/libmediastreamer.dylib(msoss.lo) not from earlier dynamic library /sw/lib/libgnome.32.dylib(gnome-util.lo)
make[2]: *** [linphone] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


more info about what I did so far:
in configure:
@@ -4071,7 +4071,12 @@
want_gnome=yes
fi;

+ want_gnome=yes ###SIMON
if test "x$want_gnome" = xyes; then

# Extract the first word of "gnome-config", so it can be a program name with args.
set dummy gnome-config; ac_word=$2

[that fixed the undefined somethings in configuration]

@@ -5475,7 +5480,7 @@
fi


-CPPFLAGS="$ORBIT_INCLUDEDIR $CFLAGS"
+CPPFLAGS="$ORBIT_INCLUDEDIR $CFLAGS -I/sw/include"

if test "${ac_cv_header_applet_widget_h+set}" = set; then
echo "$as_me:$LINENO: checking for applet-widget.h" >&5

[CPPFLAGS wasn't getting used for some reason]

+++ linphone-0.9.1/mediastreamer/msfifo.c Thu Dec 26 00:01:54 2002
@@ -23,6 +23,7 @@
#include "msutils.h"
#include "msfifo.h"

+#define ENODATA 61 /* only defined on linux apparently, not on OS X */

MSFifo * ms_fifo_new(MSBuffer *buf, gint r_gran, gint w_gran, gint r_offset, gint w_offset)
{

+++ linphone-0.9.1/oRTP/src/port_fct.c Tue Dec 24 22:44:20 2002
@@ -114,7 +114,8 @@
#ifndef _WIN32
struct sched_param param;
param.sched_priority=1;
- return sched_setscheduler(0,SCHED_RR,&param);
+ //return sched_setscheduler(0,SCHED_RR,&param);
+ return 0;
#else
HANDLE thread = GetCurrentThread();
return (SetThreadPriority(thread,THREAD_PRIORITY_ABOVE_NORMAL)==0)?-1:0;

[can't remember why I did this!!!]

+++ linphone-0.9.1/osipua/src/osipmanager.c Thu Dec 26 01:25:39 2002
@@ -18,8 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

-#include <sys/socket.h>
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <errno.h>
#include "osipua.h"

[fixed this ordering problem is a few places]

simon

On Wednesday, December 25, 2002, at 03:23 PM, Justin Hallett wrote:

malloc.h is part of unistd.h in OSX.

[EMAIL PROTECTED] writes:
lpcini.c:34: header file 'malloc.h' not found
cpp-precomp: warning: errors during smart preprocessing, retrying in
-=[JFH]  Justin F. Hallett <Systems Analyst>
-=[JFH]  Rendek Communications Inc.
-=[JFH]  [EMAIL PROTECTED]


---
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to