I faced the following error when trying to install ns2.35 on Lion OS given 
that the error indicates incompatibility with 64 bits processors

gcc -o otclsh  -g -O2 -I. -I/Users/ahesham/ns-allinone-2.35/include 
-I/Users/ahesham/ns-allinone-2.35/include 
-I/Users/ahesham/ns-allinone-2.35/include -I/usr/X11R6/include -I/include  
otclAppInit.c \        -L. -lotcl -L/Users/ahesham/ns-allinone-2.35/lib -ltk8.5 
-L/Users/ahesham/ns-allinone-2.35/lib -ltcl8.5 -L/usr/X11R6/lib -lXext -lX11  
-lmUndefined symbols for architecture x86_64:  "_CFLocaleCopyCurrent", 
referenced from:      _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)  
"_CFLocaleGetIdentifier", referenced from:      _TclpSetVariables in 
libtcl8.5.a(tclUnixInit.o)  "_CFStringGetCString", referenced from:      
_TclpSetVariables in libtcl8.5.a(tclUnixInit.o)  "_CFRelease", referenced from: 
     _TclpSetVariables in libtcl8.5.a(tclUnixInit.o)      _Tcl_FinalizeNotifier 
in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_MacOSXOpenVersionedBundleResources 
in libtcl8.5.a(tclMacOSXBundle.o)  "_CFStringCreateWithCString", referenced 
from:      _Tcl_MacOSXOpenVersionedBundleResources in !
 libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleGetBundleWithIdentifier", referenced 
from:      _Tcl_MacOSXOpenVersionedBundleResources in 
libtcl8.5.a(tclMacOSXBundle.o)  "_CFBundleCopyBundleURL", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFURLCopyLastPathComponent", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFStringCompare", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFURLCreateCopyAppendingPathComponent", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFBundleCreate", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFBundleCopyResourceURL", referenced from:      
_Tcl_MacOSXOpenVersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  
"_CFURLGetFileSystemRepresentation", referenced from:      _Tcl_MacOSXOpenV!
 ersionedBundleResources in libtcl8.5.a(tclMacOSXBundle.o)  "_CFRunLoop
GetCurrent", referenced from:      _Tcl_InitNotifier in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceCreate", referenced from:      
_Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)  "_kCFRunLoopCommonModes", 
referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      
_Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopAddSource", 
referenced from:      _Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      
_TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)  
"_CFRunLoopObserverCreate", referenced from:      _Tcl_InitNotifier in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopAddObserver", referenced from:      
_Tcl_InitNotifier in libtcl8.5.a(tclMacOSXNotify.o)      
_TclMacOSXNotifierAddRunLoopMode in libtcl8.5.a(tclMacOSXNotify.o)  
"_CFAbsoluteTimeGetCurrent", referenced from:      _Tcl_SetTimer in 
libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_Sleep in 
libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_ServiceModeHook in libtcl8.5.a(tclM!
 acOSXNotify.o)  "_CFRunLoopTimerSetNextFireDate", referenced from:      
_Tcl_SetTimer in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_Sleep in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerGetNextFireDate", referenced 
from:      _Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)  
"_kCFRunLoopDefaultMode", referenced from:      _Tcl_Sleep in 
libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_WaitForEvent in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopRunInMode", referenced from:      
_Tcl_Sleep in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_WaitForEvent in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceSignal", referenced from:      
_NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_AlertNotifier 
in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopWakeUp", referenced from:      
_NotifierThreadProc in libtcl8.5.a(tclMacOSXNotify.o)      _Tcl_AlertNotifier 
in libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerCreate", referenced from:    
  _Tcl_ServiceModeHook in libtcl8.5.a(tclMacOSXNotify.o!
 )  "_CFRunLoopAddTimer", referenced from:      _Tcl_ServiceModeHook in
 libtcl8.5.a(tclMacOSXNotify.o)      _TclMacOSXNotifierAddRunLoopMode in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopSourceInvalidate", referenced from:  
    _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)  
"_CFRunLoopObserverInvalidate", referenced from:      _Tcl_FinalizeNotifier in 
libtcl8.5.a(tclMacOSXNotify.o)  "_CFRunLoopTimerInvalidate", referenced from:   
   _Tcl_FinalizeNotifier in libtcl8.5.a(tclMacOSXNotify.o)  
"___CFConstantStringClassReference", referenced from:      CFString in 
libtcl8.5.a(tclMacOSXNotify.o)      CFString in libtcl8.5.a(tclMacOSXBundle.o)  
    CFString in libtcl8.5.a(tclMacOSXBundle.o)ld: symbol(s) not found for 
architecture x86_64collect2: ld returned 1 exit statusmake: *** [otclsh] Error 
1otcl-1.14 make failed! Exiting ...                                      

Reply via email to