|
From: | Christian Robert |
Subject: | Re: [Bug-apl] error building revision 1146 on macOS 10.14 |
Date: | Thu, 2 May 2019 14:02:02 -0400 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
apl-Quad_PLOT.o: In function `__static_initialization_and_destruction_0': /home/xtian/gnuapl/src/Quad_PLOT.cc:25: undefined reference to `Quad_PLOT::Quad_PLOT()' /home/xtian/gnuapl/src/Quad_PLOT.cc:25: undefined reference to `Quad_PLOT::~Quad_PLOT()' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:940: apl] Error 1 make[3]: Leaving directory '/home/xtian/gnuapl/src' make[2]: *** [Makefile:3448: all-recursive] Error 1 make[2]: Leaving directory '/home/xtian/gnuapl/src' make[1]: *** [Makefile:522: all-recursive] Error 1 make[1]: Leaving directory '/home/xtian/gnuapl' make: *** [Makefile:409: all] Error 2 Sorry, "make clean" does not work for me. Xtian. On 2019-05-02 13:39, Dr. Jürgen Sauermann wrote:
Hi Jeff, this sometimes happens when an inline declaration is moved from a *.hh* file to a *.cc* file and the dependencies are not updated. I suppose all you need to do is: *make clean* once. Best Regards, /// Jürgen On 5/2/19 5:08 PM, Jeff Derby wrote:i get: --------- Undefined symbols for architecture x86_64: "Quad_PLOT::Quad_PLOT()", referenced from: __GLOBAL__sub_I_Quad_PLOT.cc in apl-Quad_PLOT.o "Quad_PLOT::~Quad_PLOT()", referenced from: __GLOBAL__sub_I_Quad_PLOT.cc in apl-Quad_PLOT.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [apl] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 --------- Jeff H. Derby IBM Corporation RTP, NC USA Cell: (919) 672-0962 Internet: address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |