[lttng-dev] Compilation error in lttng-tools (version.c)

Daniel Olivier daniel.olivier at ericsson.com
Mon Jun 29 15:52:32 EDT 2015


I am getting:

make[3]: Entering directory `/root/trace_ea/foss/lttng-tools/src/bin/lttng'
depbase=`echo commands/version.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        gcc -DHAVE_CONFIG_H -I../../.. -I../../.. -I../../../src -I../../../include -include config.h  -I../../../include -I../../../src -DINSTALL_BIN_PATH=\""/usr/local/bin"\"   -Wall -g -O2 -g -fno-strict-aliasing -MT commands/version.o -MD -MP -MF $depbase.Tpo -c -o commands/version.o commands/version.c &&\
        mv -f $depbase.Tpo $depbase.Po
commands/version.c: In function 'create_version':
commands/version.c:71: error: 'PACKAGE_URL' undeclared (first use in this function)
commands/version.c:71: error: (Each undeclared identifier is reported only once
commands/version.c:71: error: for each function it appears in.)
make[3]: *** [commands/version.o] Error 1

I gather that PACKAGE_URL should get generated by configure step into config.h (or something)...

Attached is config.log, but I didn't find that it contained any errors pertaining to this.

Anybody ever see this?

Thanks,
Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 136940 bytes
Desc: config.log
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150629/394fc840/attachment-0001.obj>


More information about the lttng-dev mailing list