[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-dev
Subject:    [Orocos-Dev] [Bug 48] New: linking application fails
From:       orocos-bugzilla () fmtc ! be (orocos-bugzilla () fmtc ! be)
Date:       2006-04-07 12:03:52
Message-ID: bug-48-4 () http ! www ! fmtc ! be/orocos-bugzilla/
[Download RAW message or body]

For more information about this bug, visit
     <http://www.fmtc.be/orocos-bugzilla/show_bug.cgi?id=48>

A new bug was added:
           Summary: linking application fails
           Product: Orocos
           Version: orocos-trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Robot Control Software
        AssignedTo: orocos-dev@lists.mech.kuleuven.be
        ReportedBy: ruben.smits@mech.kuleuven.be


Hi,

i'm trying to build the nAxisDemo application but i get the following linking
error:

g++ -I/src/hardware-hotspots/wrench_sensor/build-gnulinux//include/
-I/src/hardware-hotspots/AxisInterface/build-gnulinux//include/ -g -O2
-I/src/orocos-trunk/build-gnulinux/packages/install/include/ -O -march=athlon64
-mtune=athlon64 -D_REENTRANT -fvisibility-inlines-hidden -pipe -Wall
-Woverloaded-virtual -o test_nAxisComponents
test_nAxisComponents-test_nAxisComponents.o 
-L/src/hardware-hotspots/wrench_sensor/build-gnulinux//lib/
-lwrenchsensorfactory
-L/src/hardware-hotspots/AxisInterface/build-gnulinux//lib/ -lrobotfactory
-L/src/orocos-trunk/build-gnulinux/packages/install/lib/ -ltarget -lm
-lreadline -lxerces-c -lpthread -lboost_signals -lTAO -lTAO_IDL_BE -lACE
-lTAO_PortableServer
test_nAxisComponents-test_nAxisComponents.o: In function
`ORO_main':../test_nAxisComponents.cpp:162: undefined reference to
`ORO_CoreLib::CompletionProcessor::Instance()'
> ../test_nAxisComponents.cpp:162: undefined reference to
`ORO_CoreLib::CompletionProcessor::Instance()'
> ../test_nAxisComponents.cpp:162: undefined reference to
`ORO_CoreLib::CompletionProcessor::Instance()'
/src/orocos-trunk/build-gnulinux/packages/install/lib//libtarget.a(._control_framework_control_kernel_KernelInterfaces.o):
 In function
`ORO_ControlKernel::KernelBaseFunction::KernelBaseFunction(ORO_ControlKernel::ControlKernelInterface*)':KernelInterfaces.cxx:(.text+0x5585):
 undefined reference to `ORO_CoreLib::CompletionProcessor::Instance()'
/src/orocos-trunk/build-gnulinux/packages/install/lib//libtarget.a(._control_framework_control_kernel_KernelInterfaces.o):
 In function
`ORO_ControlKernel::KernelBaseFunction::KernelBaseFunction(ORO_ControlKernel::ControlKernelInterface*)':KernelInterfaces.cxx:(.text+0x641c):
 undefined reference to `ORO_CoreLib::CompletionProcessor::Instance()'
/src/orocos-trunk/build-gnulinux/packages/install/lib//libtarget.a(._execution_task_context_EventService.o):EventService.cxx:(.text+0x23):
 more undefined references to `ORO_CoreLib::CompletionProcessor::Instance()'
follow
collect2: ld returned 1 exit status


i did 
nm /src/orocos-trunk/build-gnulinux/packages/install/lib//libtarget.a | grep
CompletionProcessor
                 U _ZN11ORO_CoreLib19CompletionProcessor8InstanceEv
                 U _ZN11ORO_CoreLib19CompletionProcessor8InstanceEv

so i think the linker should find the reference. 

Has it something to do with a bug in OROCOS or with the application itself (it
compiled on previous versions of orocos)?

Ruben


-- 
(this mail is best viewed with a fixed font)
Configure bugmail: http://www.fmtc.be/orocos-bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic