Linker cannot find ACE_Task_Base::activate

Bug #1631521 reported by John Lindal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ace (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I installed libace-6.3.3 & libace-dev -- version "6.3.3+dfsg-1"

When I try to build a program requiring ACE, I get the following error from the linker:

undefined reference to `ACE_Task_Base::activate(long, int, int, long, int, ACE_Task_Base*, int*, void**, unsigned long*, int*, char const**)'

"uname -a" reports:

Linux d42de53aa7a6 4.1.13-boot2docker #1 SMP Fri Nov 20 19:05:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
John Lindal (jafl5272) wrote :

This problem persists with libace-6.4.5 with:

Linux ubuntu-VirtualBox 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Using objdump, I discovered that the actual signature of the function inside the .so file is:

ACE_Task_Base::activate(long, int, int, long, int, ACE_Task_Base*, unsigned long*, void**, unsigned long*, unsigned long*, char const**)

This has "unsigned long" in a couple of places where the linker expects "int"

Revision history for this message
John Lindal (jafl5272) wrote :

Closed as invalid. The problem was that I tried to compile without threads, and this caused the signature for ACE_Task_Base::activate() to be different.

Changed in ace (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.