Project

General

Profile

Actions

Bug #236

closed

lttng-ust compilation fail on RHEL 5.5 (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48))

Added by Tom Doherty over 12 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Christian Babeux
Target version:
-
Start date:
05/10/2012
Due date:
% Done:

100%

Estimated time:

Description

Hi
I'm getting the following compilation error on RHEL 5.5 (latest git as of 10th May 2012):

make2: Entering directory `/opt/home/tomd/lttgit/lttng-ust/liblttng-ust'
CC lttng-probe-ust.lo
In file included from ../include/lttng/ust-tracepoint-event.h:501,
from ../include/lttng/tracepoint-event.h:41,
from probes/lttng-probe-ust.h:47,
from probes/lttng-probe-ust.c:25:
././probes/lttng-probe-ust.h:27: error: weak declaration of '__ref_loglevel___lttng_ust___metadata' must be public
././probes/lttng-probe-ust.h:27: error: '__ref_loglevel___lttng_ust___metadata' defined both normally and as an alias
make2: * [lttng-probe-ust.lo] Error 1
make2: Leaving directory `/opt/home/tomd/lttgit/lttng-ust/liblttng-ust'
make1:
[all-recursive] Error 1
make1: Leaving directory `/opt/home/tomd/lttgit/lttng-ust'
make: *
* [all] Error 2

I'm using the following toolchain:

[tomd@lhcfixdev2 lttng-ust]$ gcc v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable
__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
[tomd@lhcfixdev2 lttng-ust]$ autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html&gt;, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
[tomd@lhcfixdev2 lttng-ust]$ automake --version
automake (GNU automake) 1.12
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <>
and Alexandre Duret-Lutz <>.
[tomd@lhcfixdev2 lttng-ust]$ libtool --version
libtool (GNU libtool) 2.4
Written by Gordon Matzigkeit <>, 1996

Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I have attached my source files for your convenience.
Please let me know if I have missed anything.
Thanks
Tom


Files

probes_lttng-probe-ust.tar.lzma (2.28 MB) probes_lttng-probe-ust.tar.lzma build files Tom Doherty, 05/10/2012 05:48 AM
Actions

Also available in: Atom PDF