I did it a minute ago, now the problems are the undefined references at the end of this logs:<br><br>localhost lttng-ust-2.0.1 # ./configure --build=armv7a-unknown-linux-<div id=":2i">gnueabi                                                                              <br>

checking build system type... armv7a-unknown-linux-gnueabi                                                                                                <br>checking host system type... armv7a-unknown-linux-gnueabi                                                                                                 <br>

checking target system type... armv7a-unknown-linux-gnueabi                                                                                               <br>checking
 how to convert armv7a-unknown-linux-gnueabi file names to 
armv7a-unknown-linux-gnueabi format... func_convert_file_noop                          <br>
checking how to convert armv7a-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop                                             <br>checking library format for the host system... elf32-littlearm                                                                                            <br>

configure: creating ./config.status                                                                                                                       <br>config.status: creating Makefile                                                                                                                          <br>

config.status: creating doc/Makefile                                                                                                                      <br>config.status: creating doc/examples/Makefile                                                                                                             <br>

config.status: creating include/Makefile                                                                                                                  <br>config.status: creating include/lttng/ust-version.h                                                                                                       <br>

config.status: creating snprintf/Makefile                                                                                                                 <br>config.status: creating libringbuffer/Makefile                                                                                                            <br>

config.status: creating liblttng-ust-comm/Makefile                                                                                                        <br>config.status: creating liblttng-ust/Makefile                                                                                                             <br>

config.status: creating liblttng-ust-ctl/Makefile                                                                                                         <br>config.status: creating liblttng-ust-fork/Makefile                                                                                                        <br>

config.status: creating liblttng-ust-java/Makefile                                                                                                        <br>config.status: creating liblttng-ust-libc-wrapper/Makefile                                                                                                <br>

config.status: creating tools/Makefile                                                                                                                    <br>config.status: creating tests/Makefile                                                                                                                    <br>

config.status: creating tests/hello/Makefile                                                                                                              <br>config.status: creating tests/hello-static-lib/Makefile                                                                                                   <br>

config.status: creating tests/hello.cxx/Makefile                                                                                                          <br>config.status: creating tests/demo/Makefile                                                                                                               <br>

config.status: creating tests/fork/Makefile                                                                                                               <br>config.status: creating tests/ust-basic-tracing/Makefile                                                                                                  <br>

config.status: creating tests/ust-multi-test/Makefile                                                                                                     <br>config.status: creating lttng-ust.pc                                                                                                                      <br>

config.status: creating config.h                                                                                                                          <br>config.status: config.h is unchanged                                                                                                                      <br>

config.status: creating include/lttng/ust-config.h                                                                                                        <br>config.status: include/lttng/ust-config.h is unchanged                                                                                                    <br>

config.status: executing depfiles commands                                                                                                                <br>config.status: executing libtool commands                                                                                                                 <br>

                                                                                                                                                          <br>Version name: Annedd'ale                                                                                                                                  <br>

New type of beer, 100% from Quebec, flavored with sapin beaumier needles, with a touch of hops.                                                           <br>                                                                                                                                                          <br>

LTTng-UST will be built with the following options:                                                                                                       <br>Library format: elf32-littlearm                                                                                                                           <br>

                                                                                                                                                          <br>Java support (JNI): Disabled                                                                                                                              <br>

sdt.h integration:  Disabled                                                                                                                              <br>                                                                                                                                                          <br>

Type 'make' to compile.                                                                                                                                   <br>localhost lttng-ust-2.0.1 # make                                                                                                                          <br>

make  all-recursive                                                                                                                                       <br>make[1]: Entering directory `/usr/src/lttng-ust-2.0.1'                                                                                                    <br>

Making all in .                                                                                                                                           <br>make[2]: Entering directory `/usr/src/lttng-ust-2.0.1'                                                                                                    <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1'                                                                                                     <br>Making all in include                                                                                                                                     <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/include'                                                                                            <br>make[2]: Nothing to be done for `all'.                                                                                                                    <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/include'                                                                                             <br>Making all in snprintf                                                                                                                                    <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/snprintf'                                                                                           <br>make[2]: Nothing to be done for `all'.                                                                                                                    <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/snprintf'                                                                                            <br>Making all in libringbuffer                                                                                                                               <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/libringbuffer'                                                                                      <br>  CC     libringbuffer_la-ring_buffer_backend.lo                                                                                                          <br>

  CC     libringbuffer_la-ring_buffer_frontend.lo                                                                                                         <br>  CCLD   <a href="http://libringbuffer.la" target="_blank">libringbuffer.la</a>                                                                                                                                 <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/libringbuffer'                                                                                       <br>Making all in liblttng-ust-comm                                                                                                                           <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'                                                                                  <br>make[2]: Nothing to be done for `all'.                                                                                                                    <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-comm'                                                                                   <br>Making all in liblttng-ust                                                                                                                                <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'                                                                                       <br>  CC     liblttng_ust_tracepoint_la-tracepoint.lo                                                                                                         <br>

  CCLD   <a href="http://liblttng-ust-tracepoint.la" target="_blank">liblttng-ust-tracepoint.la</a>                                                                                                                       <br>
  CC     lttng-ust-comm.lo                                                                                                                                <br>
  CC     lttng-ust-abi.lo                                                                                                                                 <br>  CC     ltt-probes.lo                                                                                                                                    <br>

  CC     lttng-probe-ust.lo                                                                                                                               <br>  CC     lttng-context-vtid.lo                                                                                                                            <br>

  CC     lttng-context-vpid.lo                                                                                                                            <br>  CC     lttng-context-pthread-id.lo                                                                                                                      <br>

  CC     lttng-context-procname.lo                                                                                                                        <br>  CC     ltt-context.lo                                                                                                                                   <br>

  CC     ltt-events.lo                                                                                                                                    <br>  CCLD   <a href="http://liblttng-ust-runtime.la" target="_blank">liblttng-ust-runtime.la</a>                                                                                                                          <br>

  CC     ust-core.lo                                                                                                                                      <br>  CC     ltt-ring-buffer-client-discard.lo                                                                                                                <br>

  CC     ltt-ring-buffer-client-overwrite.lo                                                                                                              <br>  CC     ltt-ring-buffer-metadata-client.lo                                                                                                               <br>

  CCLD   <a href="http://liblttng-ust-support.la" target="_blank">liblttng-ust-support.la</a>                                                                                                                          <br>  CCLD   <a href="http://liblttng-ust.la" target="_blank">liblttng-ust.la</a>                                                                                                                                  <br>

/usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/../../../../armv7a-unknown-linux-gnueabi/bin/ld: warning: creating a DT_TEXTREL in object.                <br>copying selected object files to avoid basename conflicts...                                                                                              <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust'                                                                                        <br>Making all in liblttng-ust-ctl                                                                                                                            <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'                                                                                   <br>  CC     ustctl.lo                                                                                                                                        <br>

  CCLD   <a href="http://liblttng-ust-ctl.la" target="_blank">liblttng-ust-ctl.la</a>                                                                                                                              <br>/usr/lib/gcc/armv7a-unknown-linux-gnueabi/4.5.3/../../../../armv7a-unknown-linux-gnueabi/bin/ld: warning: creating a DT_TEXTREL in object.                <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-ctl'                                                                                    <br>Making all in liblttng-ust-fork                                                                                                                           <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'                                                                                  <br>  CCLD   <a href="http://liblttng-ust-fork.la" target="_blank">liblttng-ust-fork.la</a>                                                                                                                             <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-fork'                                                                                   <br>Making all in liblttng-ust-libc-wrapper                                                                                                                   <br>

make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'                                                                          <br>  CC     lttng-ust-malloc.lo                                                                                                                              <br>

  CCLD   <a href="http://liblttng-ust-libc-wrapper.la" target="_blank">liblttng-ust-libc-wrapper.la</a>                                                                                                                     <br>
make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/liblttng-ust-libc-wrapper'                                                                           <br>
Making all in tools                                                                                                                                       <br>make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tools'                                                                                              <br>

make[2]: Nothing to be done for `all'.                                                                                                                    <br>make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tools'                                                                                               <br>

Making all in tests                                                                                                                                       <br>make[2]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'                                                                                              <br>

Making all in .                                                                                                                                           <br>make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests'                                                                                              <br>

make[3]: Nothing to be done for `all-am'.                                                                                                                 <br>make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'                                                                                               <br>

Making all in hello                                                                                                                                       <br>make[3]: Entering directory `/usr/src/lttng-ust-2.0.1/tests/hello'                                                                                        <br>

  CC     tp.o                                                                                                                                             <br>  CCLD   hello                                                                                                                                            <br>

../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `__num_possible_cpus'                                                                    <br>../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `shm_object_table_create'                                                                <br>

../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `shm_object_table_append_shadow'                                                         <br>../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `shm_object_table_append'                                                                <br>

../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `zalloc_shm'                                                                             <br>../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `_get_num_possible_cpus'                                                                 <br>

../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `align_shm'                                                                              <br>../../liblttng-ust/.libs/liblttng-ust.so: undefined reference to `shm_object_table_destroy'                                                               <br>

collect2: ld returned 1 exit status                                                                                                                       <br>make[3]: *** [hello] Error 1                                                                                                                              <br>

make[3]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests/hello'                                                                                         <br>make[2]: *** [all-recursive] Error 1                                                                                                                      <br>

make[2]: Leaving directory `/usr/src/lttng-ust-2.0.1/tests'                                                                                               <br>make[1]: *** [all-recursive] Error 1                                                                                                                      <br>

make[1]: Leaving directory `/usr/src/lttng-ust-2.0.1'                                                                                                     <br>make: *** [all] Error 2                                                                                                                                   <br>

localhost lttng-ust-2.0.1 # <div class="yj6qo ajU"><div id=":24" class="ajR" tabindex="0"><img class="ajT" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div></div></div><br><br><div class="gmail_quote">On Thu, May 17, 2012 at 2:30 PM, Mathieu Desnoyers <span dir="ltr"><<a href="mailto:mathieu.desnoyers@efficios.com" target="_blank">mathieu.desnoyers@efficios.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">* Alexandre Montplaisir (<a href="mailto:alexandre.montplaisir@polymtl.ca">alexandre.montplaisir@polymtl.ca</a>) wrote:<br>

> This is an interesting problem, I'll forward it to the mailing list.<br>
><br>
><br>
> On 12-05-17 10:02 AM, Vanni Genua wrote:<br>
> > Also why I get this error?<br>
> > see the attached log file.<br>
> > Best regards.<br>
> > V.G.<br>
> ><br>
> ><br>
><br>
> localhost lttng-ust-2.0.1 # ./configure<br>
> checking build system type... armv7l-unknown-linux-gnueabi<br>
> checking host system type... armv7l-unknown-linux-gnueabi<br>
> checking target system type... armv7l-unknown-linux-gnueabi<br>
> checking for a BSD-compatible install... /usr/bin/install -c<br>
> checking whether build environment is sane... yes<br>
> checking for a thread-safe mkdir -p... /bin/mkdir -p<br>
> checking for gawk... gawk<br>
> checking whether make sets $(MAKE)... yes<br>
> checking whether make supports nested variables... yes<br>
> checking for a sed that does not truncate output... /bin/sed<br>
> checking for gcc... gcc<br>
> checking whether the C compiler works... yes<br>
> checking for C compiler default output file name... a.out<br>
> checking for suffix of executables...<br>
> checking whether we are cross compiling... no<br>
> checking for suffix of object files... o<br>
> checking whether we are using the GNU C compiler... yes<br>
> checking whether gcc accepts -g... yes<br>
> checking for gcc option to accept ISO C89... none needed<br>
> checking for style of include used by make... GNU<br>
> checking dependency style of gcc... gcc3<br>
> checking for g++... g++<br>
> checking whether we are using the GNU C++ compiler... yes<br>
> checking whether g++ accepts -g... yes<br>
> checking dependency style of g++... gcc3<br>
> checking whether make sets $(MAKE)... (cached) yes<br>
> checking how to print strings... printf<br>
> checking for a sed that does not truncate output... (cached) /bin/sed<br>
> checking for grep that handles long lines and -e... /bin/grep<br>
> checking for egrep... /bin/grep -E<br>
> checking for fgrep... /bin/grep -F<br>
> checking for ld used by gcc... /usr/armv7a-unknown-linux-gnueabi/bin/ld<br>
> checking if the linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) is GNU ld... yes<br>
> checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B<br>
> checking the name lister (/usr/bin/nm -B) interface... BSD nm<br>
> checking whether ln -s works... yes<br>
> checking the maximum length of command line arguments... 1572864<br>
> checking whether the shell understands some XSI constructs... yes<br>
> checking whether the shell understands "+="... yes<br>
> checking how to convert armv7l-unknown-linux-gnueabi file names to armv7l-unknown-linux-gnueabi format... func_convert_file_noop<br>
> checking how to convert armv7l-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop<br>
> checking for /usr/armv7a-unknown-linux-gnueabi/bin/ld option to reload object files... -r<br>
> checking for objdump... objdump<br>
> checking how to recognize dependent libraries... pass_all<br>
> checking for dlltool... no<br>
> checking how to associate runtime and link libraries... printf %s\n<br>
> checking for ar... ar<br>
> checking for archiver @FILE support... @<br>
> checking for strip... strip<br>
> checking for ranlib... ranlib<br>
> checking command to parse /usr/bin/nm -B output from gcc object... ok<br>
> checking for sysroot... no<br>
> checking for mt... no<br>
> checking if : is a manifest tool... no<br>
> checking how to run the C preprocessor... gcc -E<br>
> checking for ANSI C header files... yes<br>
> checking for sys/types.h... yes<br>
> checking for sys/stat.h... yes<br>
> checking for stdlib.h... yes<br>
> checking for string.h... yes<br>
> checking for memory.h... yes<br>
> checking for strings.h... yes<br>
> checking for inttypes.h... yes<br>
> checking for stdint.h... yes<br>
> checking for unistd.h... yes<br>
> checking for dlfcn.h... yes<br>
> checking for objdir... .libs<br>
> checking if gcc supports -fno-rtti -fno-exceptions... no<br>
> checking for gcc option to produce PIC... -fPIC -DPIC<br>
> checking if gcc PIC flag -fPIC -DPIC works... yes<br>
> checking if gcc static flag -static works... yes<br>
> checking if gcc supports -c -o file.o... yes<br>
> checking if gcc supports -c -o file.o... (cached) yes<br>
> checking whether the gcc linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes<br>
> checking whether -lc should be explicitly linked in... no<br>
> checking dynamic linker characteristics... GNU/Linux ld.so<br>
> checking how to hardcode library paths into programs... immediate<br>
> checking whether stripping libraries is possible... yes<br>
> checking if libtool supports shared libraries... yes<br>
> checking whether to build shared libraries... yes<br>
> checking whether to build static libraries... yes<br>
> checking how to run the C++ preprocessor... g++ -E<br>
> checking for ld used by g++... /usr/armv7a-unknown-linux-gnueabi/bin/ld<br>
> checking if the linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) is GNU ld... yes<br>
> checking whether the g++ linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes<br>
> checking for g++ option to produce PIC... -fPIC -DPIC<br>
> checking if g++ PIC flag -fPIC -DPIC works... yes<br>
> checking if g++ static flag -static works... yes<br>
> checking if g++ supports -c -o file.o... yes<br>
> checking if g++ supports -c -o file.o... (cached) yes<br>
> checking whether the g++ linker (/usr/armv7a-unknown-linux-gnueabi/bin/ld) supports shared libraries... yes<br>
> checking dynamic linker characteristics... (cached) GNU/Linux ld.so<br>
> checking how to hardcode library paths into programs... immediate<br>
> checking for dlopen in -ldl... yes<br>
> checking for pthread_create in -lpthread... yes<br>
> checking for uuid_generate in -luuid... yes<br>
> checking for inline... inline<br>
> checking for stdlib.h... (cached) yes<br>
> checking for GNU libc compatible malloc... yes<br>
> checking for gettimeofday... yes<br>
> checking for munmap... yes<br>
> checking for socket... yes<br>
> checking for strerror... yes<br>
> checking for strtol... yes<br>
> checking for sched_getcpu... yes<br>
> checking for sysconf... yes<br>
> checking for makeinfo... yes<br>
> checking urcu-bp.h usability... yes<br>
> checking urcu-bp.h presence... yes<br>
> checking for urcu-bp.h... yes<br>
> checking caa_likely()... yes<br>
> checking for synchronize_rcu_bp in -lurcu-bp... yes<br>
> checking for call_rcu_bp in -lurcu-bp... yes<br>
> checking library format for the host system... configure: error: unable to detect library format (unsupported architecture (armv7l)?)<br>
<br>
</div></div>Does it help if you add a line:<br>
<br>
        armv7l) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;<br>
<br>
near line 188 of <a href="http://configure.ac" target="_blank">configure.ac</a> ?<br>
<br>
What we did in userspace RCU is to use "arm*".<br>
<br>
Thanks,<br>
<br>
Mathieu<br>
<br>
><br>
><br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> <a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
> <a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mathieu Desnoyers<br>
Operating System Efficiency R&D Consultant<br>
EfficiOS Inc.<br>
<a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
</font></span></blockquote></div><br>