gnokii-users
[Top][All Lists]
Advanced

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

(no subject)


From: Rolando Abarca
Subject: (no subject)
Date: Tue, 11 May 2004 00:23:38 -0400

Hi,
I'm trying to compile gnokii under OS X (10.3.3), but I'm having problems. This is what I did:

./configure --disable-shared

during the configure, I got this warning:

checking IOBluetooth/IOBluetoothUserLib.h presence... yes
configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: present but cannot be compiled configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: check for missing prerequisite headers? configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: see the Autoconf documentation configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: section "Present But Cannot Be Compiled" configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: proceeding with the preprocessor's result configure: WARNING: IOBluetooth/IOBluetoothUserLib.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for IOBluetooth/IOBluetoothUserLib.h... yes

and make fails here:

make -C utils
/bin/sh ../libtool --mode=link gcc mgnokiidev.lo -lpthread -framework CoreFoundation -framework IOBluetooth -framework Foundation -o mgnokiidev gcc mgnokiidev.o -framework CoreFoundation -framework IOBluetooth -framework Foundation -o mgnokiidev -lpthread
ld: Undefined symbols:
_libintl_gettext
_libintl_textdomain
make[1]: *** [mgnokiidev] Error 1
make: *** [utils] Error 2

I searched for binary packages for Mac OS X, but I couldn't find any...
tia,

#include <stdio.h>  /* square root by Newton's zero-finder method   */
#include <stdlib.h> /* >$ gcc -pedantic sqrt.c #by Rolando Abarca   */
int main(int c, char* v[]){if (c==2){long d=atol(v[1]);double r1,r2=0;
double E=2.2e-308;for(r1=(1+d)/2;((r1-r2>0)?r1-r2:r2-r1)>E; r2=r1,r1=(
r2+d/r2)/2);printf("%.15f\n",r1);}else printf(" usage: %s <n>\n",*v);}





reply via email to

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