IPhone SDK - Linking error with CLLocationManager

Hello.
I have a linking error when I try to use thr CLLocationManager in my iPhone application by using the example of source code given in the Developer Center.
I have the following error : ".objcclass_nameCLLocationManager", referenced from literal-pointer@_OBJC@__clsrefs@CLLocationManager in localisation.o
symbol(s) not found.
Do you have an idea ?
Thank you for your answer.
Patrick Schevenels.

Just for clarification, there's a flood of developers now purchasing Macs to code for the iPhone platform. For those of you new to Xcode, you add a framework by doing the following:
1. Open your iPhone project in XCode
2. In the project window, ctrl+click (or right-click if you have 2-button mouse) on 'Frameworks' folder > Add > Existing Frameworks
3. Navigate to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Li brary/Frameworks/CoreLocation.framework
4. Click 'Add' button
5. Compile
Also, for anyone coming for the ActionScript Java or C# world, I've been blogging on transitioning to iPhone OS development platform.
http://www.digitalassassin.com/?p=15
Message was edited by: P120D1GY

Similar Messages

  • IPhone SDK - trouble working with iPod Touch 2G

    Hello, new Macbook OSX 10.5.4, new iPod Touch running iPhone OS 2.1. Just downloaded and installed xcode 3.1.1 and newest iPhone SDK.
    I read the iPhone OS Pre-Installation Advisory document found here:
    http://developer.apple.com/iphone/download.action?path=/iphone/iphoneos_software_preinstallation_advisory/iphone_os_2.1_preinstallationadvisory.pdf
    I created shortcut:
    .../iPhoneOS.platform/DeviceSupport/2.1.1/
    pointed to:
    .../iPhoneOS.platform/DeviceSupport/2.1/
    Checked the shortcut, it works.
    Start xcode, open Window->Orgnizer. "Xcode cannot find the software image to install this version" is showing up just below the "Software Version" line. Software version has a value of 2.1.1 (5F138).
    If I ignore this and continue to build, sign and try the application. I will receive an error message "Your mobile device has encountered an unexpected error (0xE800003A) during the install phase: Verifying application" I tried disconnect the iPod Touch, power off, power on. Same problem.
    I tried to make a complete copy in (not a shortcut):
    .../iPhoneOS.platform/DeviceSupport/2.1.1/
    Same problem.
    What should I do to trace this issue?

    I wanted to compile and upload the sample app Accelerometer Graph onto my brand new ipod touch 16.
    I got the notorious error (0xE800003A) during the install phase, verifying.
    i checked all the product id#'s which i just copied/pasted when creating the certificates etc.... so i don't know what's wrong... so what IS wrong?
    here's the logs:
    ==== Attached at 2008-09-25 17:04:27 -0400 ====
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: urn IOSDIOController::enumerateSlot(UInt8, bool): Found SDIO I/O device. Function count(2), memory(0)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: IOReturn IOSDIOIoCardDevice::parseCIS(): Device manufacturer Id(4d50), Product Id(4d48)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::init(): Starting with debug level: 4, debug flags: 00000000
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::start()
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::initHardware(): BCM4325 revision D0
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: read new style signature 0x43313131 (line:281)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VSVFL Register [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VFL Init [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: detected HBPP. driver will be kept alive
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: enabled power, scheduled bootloading
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: BCM4325 Firmware Version: wl0: Sep 1 2008 14:42:30 version 4.173.4.0
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::initFirmware(): successful initialization
    Thu Sep 25 17:04:17 unknown com.apple.launchd[1] <Notice>: Bug: launchd.c:228 (23506):19: mount("fdesc", "/dev", MNT_UNION, NULL) != -1
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: Bug: launchctl.c:2907 (23614):2: sysctl(nbmib, 2, &nb, &nbsz, NULL, 0) == 0
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: /dev/disk0s1 on / (hfs, local, read-only, noatime)
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: /dev/disk0s2 on /private/var (hfs, local, nodev, nosuid, noatime)
    Thu Sep 25 17:04:18 unknown com.apple.launchctl.System[2] <Notice>: launchctl: Couldn't stat("/etc/mach_init.d"): No such file or directory
    Thu Sep 25 17:04:19 unknown com.apple.launchd[1] <Warning>: open("/var/logs/BTServer/stdout", ...): No such file or directory
    Thu Sep 25 17:04:19 unknown com.apple.launchd[1] <Warning>: open("/var/logs/BTServer/stderr", ...): No such file or directory
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325: Ethernet address 00:22:41:c3:88:2c
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleBCM4325::setPowerStateGated() : Powering On
    Thu Sep 25 17:04:19 unknown mDNSResponder mDNSResponder-178.2 (Aug 10 2008 22:56:13)[17] <Error>: starting
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 128 bytes of prox calibration data ("built-in")
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 256 bytes of calibration data ("built-in")
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleD1759PMUPowerSource: AppleUSBCableDetect 1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleSynopsysOTG2::handleUSBCableConnect cable connected, but don't have device configuration yet
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleMultitouchZ2SPI: downloaded 48612 bytes of firmware data ("0x0051.bin") in 149ms.
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: AppleS5L8720XFMSS::_fmssInitCmdsAndCEMaskCtrl: VendorSpecific: VSCMDSIMPLE
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] VFL_Open [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] YAFTL Register [OK]
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: [FTL:MSG] FTL_Open [OK]
    Thu Sep 25 17:04:19 unknown /usr/sbin/fairplayd[20] <Notice>: Vroum
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: Got boot device = IOService:/AppleARMPE/arm-io/AppleS5L8720XIO/flash-controller0@A00000/AppleS5L8 720XFMSS/disk@FF/AppleNANDFTL/IOFlashBlockDevice/IOBlockStorageDriver/unknown vendor unknown product Media/IOFDiskPartitionScheme/Untitled 1@1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: BSD root: disk0s1, major 14, minor 1
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: Jettisoning kernel linker.
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: mDNSResponder[17] syscallbuiltinprofile: mDNSResponder (seatbelt)
    Thu Sep 25 17:04:19 unknown kernel[0] <Debug>: mDNSResponder[17] Builtin profile: mDNSResponder (seatbelt)
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: BTServer 1.2 () Modified on
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Bluetooth Super Server Robot Destroyer
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Got local-mac-address: 00:22:41:c1:42:29
    Thu Sep 25 17:04:20 unknown com.apple.BTServer[26] <Notice>: machport is com.apple.server.bluetooth
    Thu Sep 25 17:04:20 unknown lockdownd[15] <Error>: (0x3941d6d0) lookupimei: Could not get matching service for baseband
    Thu Sep 25 17:04:21 unknown mDNSResponder[17] <Error>: Note: SetDomainSecrets: no keychain support
    Thu Sep 25 17:04:21 unknown com.apple.BTServer[26] <Notice>: Cannot read termcap database;
    Thu Sep 25 17:04:21 unknown com.apple.BTServer[26] <Notice>: using dumb terminal settings.
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Opening /dev/cu.bluetooth @ 115200 baud.
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now ON
    Thu Sep 25 17:04:22 unknown com.apple.itunesstored[18] <Notice>: Couldn't open shared capabilities memory GSCapabilities (No such file or directory)
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: bluetooth reset was pulsed 100 ms
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Issued HCI Reset
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Sending UpdateUART_BaudRate
    Thu Sep 25 17:04:22 unknown com.apple.BTServer[26] <Notice>: Setting local baud rate
    Thu Sep 25 17:04:23 unknown configd[21] <Notice>: CLTM: No thermal sensors detected, not registering for notifications
    Thu Sep 25 17:04:24 unknown kernel[0] <Debug>: en0: setting diversity to: -1
    Thu Sep 25 17:04:24 unknown lockbot[30] <Error>: copy_preference: Could not ssetgid to 501: Operation not permitted
    Thu Sep 25 17:04:24 unknown kernel[0] <Debug>: en0: setting tx antenna: -1
    Thu Sep 25 17:04:24 unknown lockbot[31] <Error>: copy_preference: Could not ssetgid to 501: Operation not permitted
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) sanitizedevicename: Could not convert device name into buffer
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80cc00) calculateapplicationusage: Calculating the application usage
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) ping_configd: Could not sanitize device name
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) load_systemversion: Could not lookup release type
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) extract_recordidentifier: Could not extract ICCID from account token
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) loadactivationrecords: Could not extract ICCID from record
    Thu Sep 25 17:04:24 unknown lockdownd[15] <Error>: (0x80be00) loadactivationrecords: This is the iPod activation record
    Thu Sep 25 17:04:24 unknown configd[21] <Notice>: setting hostname to "iPod"
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: The original activation state is Activated
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: SIM status: kCTSIMSupportSIMStatusReady
    Thu Sep 25 17:04:25 unknown lockdownd[15] <Error>: (0x80be00) determineactivationstate: The activation state has not changed.
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: iPod USB Interface
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: USBAudioControl
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: USBAudioStreaming
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: IapOverUsbHid
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 - Configuration: PTP + Apple Mobile Device
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2 Interface: AppleUSBMux
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function USBAudioControl
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: IOAccessoryPortUSB::start
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function IapOverUsbHid
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: virtual bool AppleUSBDeviceMux::start(IOService*) build: Aug 10 2008 22:34:20
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: init_waste
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function USBAudioStreaming
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function AppleUSBMux
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction Register function PTP
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::gated_registerFunction all functions registered- we are ready to start usb stack
    Thu Sep 25 17:04:26 unknown kernel[0] <Debug>: AppleSynopsysOTG2::handleUSBReset
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Current Device: UART - /dev/cu.bluetooth
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Setting speed to 115200
    Thu Sep 25 17:04:26 unknown /usr/libexec/ptpd[12] <Notice>: PTP interface bas been activated at high speed.
    Thu Sep 25 17:04:26 unknown SpringBoard[22] <Warning>: Not monitoring for AOS notifications since they are not enabled by user defaults.
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending UpdateUART_BaudRate
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Setting local baud rate
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Using env variable: BTDEVICEADDRESS = 00:22:41:c1:42:29
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending WriteBDADDR
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Using host name: iPod
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending WriteLocalName: iPod
    Thu Sep 25 17:04:26 unknown com.apple.BTServer[26] <Notice>: Sending SetSleepmodeParam
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: com.apple.server.bluetooth: Server attached, going into msg loop.
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Cannot read termcap database;
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: using dumb terminal settings.
    Thu Sep 25 17:04:27 unknown afcd[35] <Error>: user mobile has uid 501
    Thu Sep 25 17:04:27 unknown afcd[35] <Error>: mode is 0x41e8
    Thu Sep 25 17:04:27 unknown configd[21] <Notice>: WiFi: Currently not associated. Beginning auto join sequence.
    Thu Sep 25 17:04:27 unknown configd[21] <Notice>: WiFi: External power source attached
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Opening /dev/cu.bluetooth @ 2400000 baud.
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now ON
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Issued HCI Reset
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: Sending SetSleepmodeParam
    Thu Sep 25 17:04:27 unknown com.apple.BTServer[26] <Notice>: bluetooth wake is now OFF
    Thu Sep 25 17:04:28 unknown lockdownd[15] <Error>: (0x81c200) set_timezone: Setting the time zone to /usr/share/zoneinfo/US/Eastern
    Thu Sep 25 17:04:28 unknown com.apple.mediaserverd[16] <Notice>: mediaserverd: 17:04:28.136 StreamUSBAspen.cpp[163]: GetCurrentPhysicalFormat(): ERROR: No HAL stream format corresponding to the current iAP digital audio sample rate 0 Hz
    Thu Sep 25 17:04:32 unknown itunesstored[18] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x10c620>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:32 unknown iapd[19] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x20b290>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:32 unknown afcd[56] <Error>: user mobile has uid 501
    Thu Sep 25 17:04:32 unknown afcd[56] <Error>: mode is 0x41e8
    Thu Sep 25 17:04:34 unknown SpringBoard[22] <Warning>: lockdown says the device is: [Activated], state is 3
    Thu Sep 25 17:04:34 unknown /System/Library/CoreServices/SpringBoard.app/SpringBoard[22] <Notice>: CLTM: initial thermal level is 0
    Thu Sep 25 17:04:35 unknown securityd[32] <Error>: misagent[60] SecItemCopyMatching: missing entitlement
    Thu Sep 25 17:04:36 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:36 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. auto-generating notification 'com.apple.itunes-mobdev.syncWillStart' for (
    <SBSyncController: 0x2ad960>
    Thu Sep 25 17:04:36 unknown itunesstored[18] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x10c620>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:36 unknown iapd[19] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x20b290>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.springboard.syncingUnblocked
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. auto-generating notification 'com.apple.itunes-mobdev.syncWillStart' for (
    <ABRingtoneManager: 0x2c5660>,
    <SBVODController: 0x2c5d70>
    Thu Sep 25 17:04:37 unknown SpringBoard[22] <Warning>: INFO:: ITSyncHelper <ITSyncHelper: 0x232830>. posting local notification for distributed notification: com.apple.itunes-mobdev.syncWillStart
    Thu Sep 25 17:04:37 unknown securityd[32] <Error>: mobileimagemou[54] SecItemCopyMatching: missing entitlement

  • Linker error with ActionHandler sample

    When I try to build the ActionHandler sample (available with Adobe Acrobat SDK 6.0) in Visual Studio 6.0 environment, I am getting some linker error as
    ActionPropertiesDlg.obj : error LNK2001: unresolved external symbol _AVWindowNewFromPlatformThingCompatStub
    Debug/ActionHandler.api : fatal error LNK1120: 1 unresolved externals
    I am sure this is some trivial issue with some settings or include directory missing. I would be grateful if someone could point me a way to avoid this linker error.
    TIA!

    If you build a sample, it should have a complete project for you to
    load. This is very much recommended: there is a lot to get right if
    you manually set up the project.
    Aandi Inston

  • IPhone SDK CodeSign Error: Redux (latest OS X update is broken)

    This bug - http://discussions.apple.com/thread.jspa?threadID=1455699&start=0&tstart=0 - is back. My AdHoc project, which worked perfectly last week, has just stopped building, with this:
    "object file format invalid or unsuitable"
    As soon as I upgraded from 10.5.7 to 10.5.8, this bug appeared.
    However, this bug was officially fixed in 10.5.7 - so, I'm guessing here, Apple has accidentally re-created it.
    Unfortunately, I cannot add to the original post, because Apple has frozen the topic.
    So, here's a new topic to ask if anyone else is having this problem, and what they did about it - is it exactly the same as the old bug? or is it different in some way?
    I'm going to try some of the workarounds for the old bug - but hacking command line scripts isn't fun, and I'm worried I might break something even worse .

    iPhone Dev Center
    Downloads
    Read me before downloading
    If you have updated your device to iPhone OS 3.1.3 with iTunes, you must install iPhone SDK 3.1.3 in order to continue with your development.
    *iPhone SDK 3.1.3*
    iPhone SDK 3.1.3 includes the Xcode IDE, iPhone simulator, and a suite of additional tools for developing applications for iPhone and iPod touch.
    _Posted: February 2, 2010_
    Leopard Build: 9M2809a
    Snow Leopard Build: 10M2003a
    *Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.1.4
    iPhone SDK 3.1.3 with Xcode 3.1.4 Readme
    *Snow Leopard Downloads*
    iPhone SDK 3.1.3 with Xcode 3.2.1
    iPhone SDK 3.1.3 with Xcode 3.2.1 Readme
    *Other Downloads*
    iPhone SDK Agreement
    iPhone Configuration Utility

  • Link error with Forte C++ Update 2 -compat=4

    We've just upgraded to the Forte 6.0 update 2 C++ compiler on
    Solaris 2.6. I'm getting the following link error when linking
    against libraries built with the 4.2 C++ compiler.
    Undefined               first referenced
    symbol                in file
    __rtaccess(MOperation&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MHash&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MPublisher&) /home/eng/sharonc/AdCORBA/CorbaRv-dev/export/s4_56_FORTE_Debug/lib/libcorbarv.so
    __rtaccess(MApp&)
    ld: fatal: Symbol referencing errors. No output written to ./tibcorbarvb
    gmake[1]: *** [tibcorbarvb] Error 1
    I've made sure the required patches for the Forte compiler are installed and the system was rebooted.
    I use the following flags when linking:
    CC -mt -g -xildoff -pto -KPIC -D_REENTRANT -compat
    -features=rtti,namespace,bool,localfor,mutable -zmuldefs
    I use -features as I also link with some libraries that use features
    of C++ not available in the 4.2 compiler. However the link
    errors are from the library that is built with the 4.2 compiler.
    Everything compiled and linked fine with Forte 6.0 Update 1.
    This is something new with the update 2 compiler.
    Any help is appreciated.

    Hi There,
    I see that youare using the compiler flag -compat
    with no value assigned.
    This means it defaults 5.0C++ compiler comatibilty mode.
    Since you mentioned in your email that you get the error message from the library built with 4.2 C++
    compiler, try -compat=4 flag.
    See the C++ migration guide for more information
    from http://docs.sun.com
    ....jagruti
    Developers Technical Support
    Sun Microsystems Inc.
    http://www.sun.com/developers/support

  • Linker error with WS6U2 in compat=4 mode

    We have just upgraded from WS6U1 to WS6U2 on
    Solaris 2.8. I am getting a linker error when
    linking against libraries built with the 4.2 C++
    compiler. Everything works fine with WS6U1 compiler.
    The linker error is related to __rtaccess.
    Here is the test case:
    // t.h
    class class42 {
    public:
    virtual int getId();
    // t42.cc
    #include "t.h"
    int
    class42::getId()
    return 33;
    Build the library for t42.cc using 4.2 version of C++
    compiler as follows:
    /opt/SUNWspro/bin/CC -c -I. t42.cc
    /opt/SUNWspro/bin/CC -xar -o libt42.a t42.o
    // t62.cc
    #include "t.h"
    class class6u2 : public class42
    main()
    class42 *nt1 = new class6u2;
    class6u2 d1 = (class6u2 )(nt1);
    Build the above with WS6U2 compiler as follows:
    /opt/SUNWspro/bin/CC -compat=4 -features=rtti -c -I.
    t62.cc
    /opt/SUNWspro/bin/CC -compat=4 -features=rtti -o t62
    -I. t62.o -L. -lt42
    In my real case, I have a library built with 4.2 C++
    compiler. I do not have the souce code for it and
    cannot compile it with rtti. Also, I cannot avoid
    using rtti when compiling my code with WS6U2.
    I am not sure why the WS6U2 tools are looking for
    dynamic cast information in my test case when I am
    not using dynamic_cast or typeid. As I said above,
    the test case works fine with the WS6U1 version of
    compiler.
    Comparision of symbol table information for t62.o
    generated with WS6U1 and WS6U2 shows the following
    difference:
    ts62.o compiled with WS6U1:
    ... NOTY |WEAK |0 |UNDEF |__0FK__rtaccessR6Hclass42
    ts62.o compiled with WS6U2:
    ... NOTY |GLOB |0 |UNDEF |__0FK__rtaccessR6Hclass42
    Any help is appreciated.
    Thank You.
    Chandra Kota

    When you compile with -instances=explicit, no template instances will be generated other than the ones you explicitly ask for.
    This code requires instantiation of some rw_slist members that are not in the librwtools library, and the -instances=explicit option prevents them from being created implicitly.
    First, you need to add an explicit instantiation directive for the missing rw_slist destructor. When you do that, you will find other functions, some from the C++ standard library, that need explicit instantiation.
    Using any of the non-default template compilation models usually requires considerable trial and error to generate all of the needed instances without duplicating any of them.
    For more discussion of the -instances=xxx options and their tradeoffs, please see the C++ User's Guide chapters on using templates.
    - Rose

  • Mac CS4 Linker Error with IAIColorSpace.cpp

    Hi Folks,
    I'm trying to use AIColorSpace in my Mac AICS4 Plug-In using Xcode 3.1.1 on Leopard 10.5.7, but I'm getting a linker errors (see below).
    Has anyone here included "IAIColorSpace.cpp" in their project and successfully compile an AICS4 plug-in using Xcode 3.1.1 on Leopard?
    When I include IAIColorSpace.cpp in my project, I get a linker error of:
    _sAIColorSpace, referenced from
    _sAIColorSpace$non_lazy_ptr in IAIColorSpace.o
    symbol(s) not found
    collect2: Id returned 1 exit status
    There are many Google hits of "non_lazy_ptr" errors with Xcode, but nothing has helped me solve this issue. Any help would be most appreciated!
    Thanks!
    -- Jim

    The usual culprit is that sAIColorSpace needs to be defined in all the right places. Typically its EXTERN'd in both a header & a cpp, as well as included in a list of suites to load (along with the version of the suite to load). Have you added it to all three places? Usually you just find the spots where all the other suties are and cut & paste it into their number. Where that would be depends on whether you're using your own plugin setup or if you're working off one of the Adobe skeleton samples plugins.

  • Excelrepor​tdemo project link error with CVI2010 on windows 7, 64-bit operating system

    I am trying to run the excelreportdemo project in CVI2010 on windows 7, 64-bit operating system. I have the Excel2013 installed as well. I have chosen the build configuration as release or debug for 32 bit system so to be compatible for the test platform for production.
    However, I get 12 Project link errors as following:
    Undefined symbol '_ExcelRpt_RangeBorder@24' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WriteDataFromTableControl@16' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetCellValue' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetCellRangeAttribute' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ChartAddtoWorksheet@40' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ChartWizard@52' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_SetChartAttribute' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorkbookNew@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ApplicationNew@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_ApplicationQuit@4' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorkbookClose@8' referenced in "excelreportdemo.c".
    Undefined symbol '_ExcelRpt_WorksheetNew@12' referenced in "excelreportdemo.c".
    I have found a previous dicussion back in 2007. Unfortunately it did not help for the same problem on my new machine and CVI2010. Could anyone give me help on this/
    Thanks!
    Yuwei
    Solved!
    Go to Solution.

    The previous discussion link is pasted below:
    http://forums.ni.com/t5/LabWindows-CVI/Problems-adding-the-activex-instrument-e​xperiencing-undefined/m-p/580608/highlight/true#M3​1390
    It did not solve my problem, but may spark your idea of helping me.
    Thanks a lot!
    Yuwei

  • Link error with installing 11.2.0.3 x64 on Ubuntu 11.10 x64

    Hi,
    I'm upgrading from 11.2.0.2 to 11.2.0.3 on an Ubuntu 11.10 x64 platform. During the link process of the installation, I kept on encountering a link error which looked
    like the following. This error firstly appeared in 'all_no_orcl'. If I clicked continue, this error would pop up when linking for other binaries. They all pointed to libocrb11.so. I could successfully installed 11.2.0.3 on another SUSE platform, but I'm wondering how I can make it work on Ubuntu. Not sure what packages I missed.
    Thanks in advance.
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateCtxExt'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoIO'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoFnameMax'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCommit2P'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckHdl'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoRenameFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDeleteFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCloseFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoErrorMessage'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoGetSize'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreateFile'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoOpenDirty'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCheckMount'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoDestroyCtx'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoControl'
    /hd15k/u01/app/oracle/product/11.2.0.3/dbhome_1/lib//libocrb11.so: undefined reference to `kgfoCreate2P'

    the problem because of gcc version in 11.10 ubuntu is 4.6, oracle relink need gcc 4.4
    if you upgrade from previous version of ubuntu, checked in /usr/bin
    ls -ltr gcc*
    -rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
    -rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
    -rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
    lrwxrwxrwx 1 root root 7 2011-11-12 07:13 gcc -> gcc-4.6
    rm gcc
    # ln -s gcc-4.4 gcc
    # ls -ltr gcc*
    -rwxr-xr-x 1 root root 349120 2011-09-16 07:31 gcc-4.6
    -rwxr-xr-x 1 root root 275952 2011-09-17 03:10 gcc-4.5
    -rwxr-xr-x 1 root root 259232 2011-10-05 14:56 gcc-4.4
    lrwxrwxrwx 1 root root 7 2012-02-01 11:25 gcc -> gcc-4.4
    you should be able to relink oracle.

  • Link Error with Sample on Solaris

    I am getting linking error when compiling the sample for XML C++ Parser, help anyone ?
    make SAXSample
    gcc -o SAXSample -I../include SAXSample.cpp -L../lib -lxml8 -lxmlc8 -lcore8 -lnls8 -lcore8 -lnls8 -lcore8 -lnsl -lsocket
    Undefined first referenced
    symbol in file
    cout /var/tmp/cczSDNUP.o
    XMLParser::xmlterm(void) /var/tmp/cczSDNUP.o
    XMLParser::xmlinit(unsigned char *, void (*)(void *, unsigned char const *, unsigned int), void *, xmlsaxcb *, void *, unsigned char *)/var/tmp/cczSDNUP.o
    ostream::operator<<(char const *) /var/tmp/cczSDNUP.o
    ostream::operator<<(unsigned int) /var/tmp/cczSDNUP.o
    XMLParser::xmlparse(unsigned char *, unsigned char *, unsigned int)/var/tmp/cczSDNUP.o
    ostream::write(unsigned char const *, int)/var/tmp/cczSDNUP.o
    ostream::flush(void) /var/tmp/cczSDNUP.o
    ld: fatal: Symbol referencing errors. No output written to SAXSample
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `SAXSample'
    null

    I am getting this problem as well. I see it was also reported by 2 other people earler. Has anyone resolved this yet? I also have these unresolved external problems when using the C V1 XML parser. It is almost as if the libs downloaded are for a different version of Solaris and not recognized by the newly compiled objects. I have tried a number of things to resolve this without success.
    Any help would be greatly appreciated.
    Thanks
    Julie Bartlett
    null

  • Linking Errors with rwtools7.so in C++ v6.2.p2

    Hi ,
    We are migrating our application from c++ 4.2 to 6.2.p2 and Sol 2.6 to Sol 8.
    we are using the option -compat = 4 for backward compatibility. and used -library=rwtools7 and
    ' -lrwtool' is also a prameter while liking ..
    while linking we are getting the below erros ...
    ild: (undefined symbol) __rtaccess(streambuf&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) __rtaccess(ios&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) type_info::__vtbl -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class type_info is defined]
    ild: (undefined symbol) __rtaccess(unsafe_ios&) -- referenced in /sbcimp/run/tp/sun/SUNWspro/v6.2.p2/lib/rw7/CC4/librwtool.so
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CASmfFile.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/DtObj.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CrestMsgRcvHandler.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    ild: (undefined symbol) __RT_CLASS::__vtbl -- referenced in the text segment of sun5/CrestTimMain.o
    [Hint: try checking whether the first non-inlined, non-pure virtual function of class __RT_CLASS is defined]
    could someone please guide us , how to get rid off this problem
    Thank you
    Vara

    As to the migration, two main points:
    - Use the "-compat" option on every CC command, compiling and linking which you already did.
    - Any "Anachronism" warnings produced by the 4.2 compiler are now errors. The Migration Guide has a complete list, along with explanations of how to fix the code.
    With those caveats, any code that worked with C++ 4.2 will work the same way with FD6U2 in compat mode.
    Rose

  • [iPhone] OpenAL Linking errors

    Hi,
    I try to compile CrashLanding sample from SDK, but i have 18 errors:
    "_alcCreateContext", referenced from:
    "_alSourceStop", referenced from:
    "_alSourceQueueBuffers", referenced from:
    "_alGetError", referenced from:
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    and similar related to OpenAL.
    it's have already added openAL framework,AudioToolbox, CoreAudio.
    how to solve this ?

    Interesting, when I looked at the time in Time Zone Support it had been reset to GMT - 4, which put me in the Atlantic Time Zone, rather than Eastern Time Zone. It likely reset itself when I was travelling, as I never had a problem with Time Syncing before. At any rate, that solved the problem, and i thank you.
    Ed

  • Link error with STL

    Hi there,
    I am trying to build a C++ on Solaris, met the following error:
    CC xerces-c2_3_0/lib/SunOS/libxerces-c.so.23 -o output/SunOS/bin2xml output/SunOS/bin2xml.o output/SunOS/libxmlcompiler.a
    Undefined first referenced
    symbol in file
    void std::__insertion_sort<Dictionary::Word*,Dictionary::WordUsageCompare>(__type_0,__type_0,__type_1) output/SunOS/libxmlcompiler.a(Dictionary.o)
    void std::vector<XREFINFO*,std::allocator<XREFINFO*> >::__insert_aux(XREFINFO**,XREFINFO*const&) output/SunOS/libxmlcompiler.a(xdecompiler.o)
    ld: fatal: Symbol referencing errors. No output written to output/SunOS/bin2xml
    make: *** [output/SunOS/bin2xml] Error 1
    It seems to be that the STL library has not been linked. Is there anyone give me some hint how to solve the problem.
    Thanks
    Sliu

    The C++ standard library (including STL) is automatically linked, so that isn't your problem.
    But the missing template instance cannot be in the library, because it depends on a user-defined type. The instance has to be generated by compiling the program.
    Some code in the .o or in one of the libraries needs an instance of std::__insertion_sort that is not present in any of the provided binaries. You aren't giving the compiler any source code, so it cannot generate the instance itself.
    Run "nm -C" on each binary, and look for a line containing "UNDEF" and "std::__insertion_sort", matching the undefined symbol the linker complains about. You probably need to recompile that binary.
    But that binary might have been compiled with generation of that template instance turned off, so some source code modification might be needed.

  • New Iphone OS5 Sync Error With Outlook

    Hello everyone,
         Below are the errors that I keep recieving when I try to sync my Iphone, with my Outlook 2010. I highlight the Outlook abd click next because, it is the most up to date. I guess my next question is, what can I do to fix it?

    Hi,
    This way I found the corrupt reoccuring entry:
    synch with outlook ran to error - found a post saying that deleting all calendar entries in phone may help
    calendar on phone can just delete entries in past - so changed clock to future time and wanted to delete all entries
    'system error' or so came when I tried delete all calendar entries
    start playing with changing phone clock to various future dates and trying to delete calendar
    deleting was only possible when clock on phone was anytime before the end of reoccurance of wrong calendar entry - when all instances of reoccuring entry were 'in past' for the phone, than deletion crashed with error
    Don't know if there was attachment  - cannot open it, but I do not think so.
    Following your suggestion opened backup file with Noki, but most entries are not backed up -  out of 328 identified entires only 30 are appearing in Noki list. Could happen that corrupt entry blocks the proper backup as well.
    Thanks a lot.

  • [iPhone SDK] Trial App with Activation Key?

    Hi,
    Is there a concept of 'Trial' in these iPhone Apps? Ideally I'd like Trial functionality for my app but then allow users to buy the Full app from AppStore.
    How would I go about doing this? Or will I need to develop two apps, one trial and one full? Thanks

    Seems like a no brainer, for sure. But you can't right now.
    Best bet is to link to a QuickTime video. I've seen some people with a free/paid version as well in the Store.
    I don't think Apple quite understands this business, but hopefully they will catch on.

Maybe you are looking for

  • Help!! About 20min to open a project after some crashes...!!

    Briefly: - Working in a project with about 10 audio instruments and 10 audio tracks - "Multi-thread plugin seems to cause a problem" - logic crashes and autosave the project - reopen the project, unload the plugins that "caused" the problem - save th

  • My microphone line-in jack isn't working.

    I want to use an external microphone for online gaming conversations. I have a headset with both mic and earphones. I can hook the earphone jack up and can hear fine, however when i hook the microphone jack i can't get it to work. Yes, i have gone in

  • MRP - want to create query for Exception message number (MD04)

    Dear all MM kings consider  i had one purchase against xxxx material , if i go to MD04  In Exception message number  column i got massage number 20 Cancel process, now i want to know how many purchase order exist  in system having the Exception messa

  • Sending photo attachments from Mail to Gmail

    I've been sending photo attachments via Mail for years and haven't had trouble until recently. Now I'm getting complaints from Gmail users that the attachments come through as embedded files. I guess on the Gmail end, they don't see it listed out as

  • Building installer requires CD read

    Why is it when I build an installer it prompts me to load the distribution and driver CDs? Shouldn't all this be available on my hard drive already? See attached screenshot. Attachments: INSTALLER.JPG ‏75 KB