Menu

#21 Version 4.9.5, undefined reference to `myGZWrite(gzFile_s*&, void const*, unsigned long)'

4.0.1
open
nobody
None
2016-03-25
2016-02-06
Brian O.
No

Version 4.9.5. CentOS , gcc 4.9.3, in "make". This is after:

/bin/sh ../../libtool --tag=CXX --mode=link g++ -pthread -I/software/apps/boost/gcc/64/1.55.0/include -DPUBLICQUIET -DAJ_Linux64 -I/software/apps/mira/gcc/64/4.9.5/include -O3 -funroll-loops -pthread -I/software/apps/boost/gcc/64/1.55.0/include -I/usr/include -Werror=uninitialized -Werror=return-type -Werror=parentheses -Werror=unused-value -std=c++14 -L../modules -L../debuggersupport -L../memorc -L../io/ -L../util/ -L../errorhandling/ -L../mira -L../caf -L/software/apps/boost/gcc/64/1.55.0/lib -L/software/apps/mira/gcc/64/4.9.5/lib -L/software/apps/boost/gcc/64/1.55.0/lib -L/usr/lib -L/software/apps/zlib/gcc/64/1.2.7/lib -o mira mira.o quirks.o -lmiramodules -lmiradebuggersupport -lmira -lmiraestass -lmiracaf -lmirautil -lmiradptools -lmirafio -lmiraerrorhandling -lmiradebuggersupport -lmirafmttext -lz -lboost_thread -lboost_regex -lboost_system -lboost_filesystem -lboost_iostreams -lrt -lexpat -lm -lz -lbz2

Looks like it's looking for libmirautil.a, but possibly the command is issued in the wrong directory, not sure. There's "-L../util", there's "-lmirautil", but something's wrong. Thank you.

Discussion

  • Bastien Chevreux

    I have seen this before, I think even on one of my machines. I think I got it fixed by building the whole toolchain (i.e., every single library) with the specific compiler to be used and not relying on system provided libraries.

    But I cannot find any notes on this anywhere, bummer.

    If this helps (or not): feedback appreciated.

     
  • Bastien Chevreux

    Any feedback?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.