[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Problem compiling oRTP CVS on Mac OS X

From: Nicholas J Humfrey
Subject: [Linphone-developers] Problem compiling oRTP CVS on Mac OS X
Date: Tue, 25 Apr 2006 13:35:07 +0100

My solution was to delete the socklen_t typedef from stun_udp.h

In file included from stun.c:109:
../include/ortp/stun_udp.h:78: error: conflicting types for 'socklen_t'
/usr/include/sys/socket.h:99: error: previous declaration of 'socklen_t' was here

In ortp/stun_udp.h:
#ifdef __MACH__
typedef int socklen_t;

In sys/socket.h:

#ifndef _SOCKLEN_T
#define _SOCKLEN_T
typedef __darwin_socklen_t      socklen_t;

In ppc/_types.h:
typedef __uint32_t         __darwin_socklen_t;     /* socklen_t (duh) */

In i386/_type.h:
typedef __uint32_t __darwin_socklen_t; /* socklen_t (duh) */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]