bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] error building revision 1146 on macOS 10.14


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

libtool: link: g++ -Wall -I sql -Werror -rdynamic -g -O2 -o apl apl-main.o apl-Archive.o apl-ArrayIterator.o apl-Assert.o apl-Avec.o apl-Backtrace.o apl-Bif_F12_FORMAT.o apl-Bif_F12_SORT.o apl-Bif_OPER1_COMMUTE.o apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.oapl-configure_args.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o apl-Function.o apl-DerivedFunction.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-NamedObject.o apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parser.o apl-Prefix.o apl-PointerCell.o apl-PrimitiveFunction.o apl-PrimitiveOperator.o apl-PrintBuffer.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_PLOT.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Parallel.o apl-Performance.o apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o apl-static_Objects.o -ldl -lpthread -lm
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]