[Bug 758] New: tlsf.c fails to compile

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=758

Summary: tlsf.c fails to compile
Product: RTT
Version: 2.0-mainline
Platform: Intel 64bit
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: klaas [dot] gadeyne [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

updated today

[ 51%] Building C object
src/CMakeFiles/orocos-rtt-dynamic_macosx.dir/os/tlsf/tlsf.c.o
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:162:1:
warning: "PAGE_SIZE" redefined
In file included from /usr/include/mach/i386/vm_types.h:73,
from /usr/include/mach/machine/vm_types.h:35,
from /usr/include/mach/port.h:92,
from /usr/include/mach/message.h:75,
from /usr/include/mach/host_info.h:68,
from /usr/include/mach/mach_types.h:80,
from /usr/include/mach/mach_init.h:61,
from
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/../macosx/fosi.h:32,
from
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/../fosi.h:59,
from
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:55:
/usr/include/mach/i386/vm_param.h:98:1: warning: this is the location of the
previous definition
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:201: error:
expected specifier-qualifier-list before ‘rt_mutex_t’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c: In function
‘FIND_SUITABLE_BLOCK’:
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:330: error:
‘tlsf_t’ has no member named ‘sl_bitmap’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:335: error:
‘tlsf_t’ has no member named ‘matrix’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:337: error:
‘tlsf_t’ has no member named ‘fl_bitmap’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:339: error:
‘tlsf_t’ has no member named ‘sl_bitmap’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c:340: error:
‘tlsf_t’ has no member named ‘matrix’
/Users/klaas/Workspaces/orocos/orocos-rtt.git/src/os/tlsf/tlsf.c: In function
‘get_new_area’:

Snow leopard and mac ports

--
Configure bugmail: https://www.fmtc.be/bugzilla/orocos/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
--
Orocos-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

[Bug 758] tlsf.c fails to compile

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=758

Peter Soetens <peter [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #2 from Peter Soetens <peter [..] ...> 2010-05-03 11:31:38 ---
Same issue was reported on win32. We need the cmake logic to disable it on all
but gnulinux/xenomai/lxrt.

Peter

[Bug 758] tlsf.c fails to compile

On May 3, 2010, at 05:31 , Peter Soetens wrote:

> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=758
>
>
> Peter Soetens <peter [..] ...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> Status|NEW |ASSIGNED
>
>
>
>
> --- Comment #2 from Peter Soetens <peter [..] ...> 2010-05-03 11:31:38 ---
> Same issue was reported on win32. We need the cmake logic to disable it on all
> but gnulinux/xenomai/lxrt.
>
> Peter

Nah, I've fixed this on Mac, so list should be gnulinux/xenomai/lxrt/macosx. Check out my release branch on github.
S

[Bug 758] tlsf.c fails to compile

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=758

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kiwi [dot] net [..] ...

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2010-02-23 23:36:52 ---
TLSF is not supported on the Mac. Needs patching to turn it off on Mac.