CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Errors building addr2line

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2023, 16:11
Question Errors building addr2line
  #1
New Member
 
Anthony Allison
Join Date: Feb 2023
Posts: 1
Rep Power: 0
tonytx05 is on a distinguished road
I am building OpenFOAM-v2212 on macOS Ventura, and can't fix the error below that occurs when trying to build addr2line. I was trying to build this separately, because when I run Allwmake from my foam directory, I get errors about addr2line.o missing. Any help would be much appreciated.

Code:
anthony@Tony-MacBook-Pro OpenFOAM-v2212 % ./applications/utilities/miscellaneous/OSspecific/Allwmake
==> Darwin-specific utilities
wmake addr2line
clang++ -std=c++14 -m64 -pthread -ftrapping-math -DOPENFOAM=2212 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3  -DNoRepository -ftemplate-depth-100   -iquote. -IlnInclude -I/Users/anthony/OpenFOAM/OpenFOAM-v2212/src/OpenFOAM/lnInclude -I/Users/anthony/OpenFOAM/OpenFOAM-v2212/src/OSspecific/POSIX/lnInclude   -fPIC -Wl,-execute,-undefined,dynamic_lookup  /Users/anthony/OpenFOAM/OpenFOAM-v2212/build/darwin64ClangDPInt64Opt/applications/utilities/miscellaneous/OSspecific/addr2line/addr2line.o -L/Users/anthony/OpenFOAM/OpenFOAM-v2212/platforms/darwin64ClangDPInt64Opt/lib \
	     -lOpenFOAM -ldl  \
	     -lm -o /Users/anthony/OpenFOAM/OpenFOAM-v2212/platforms/darwin64ClangDPInt64Opt/bin/addr2line
ld: library not found for -lOpenFOAM
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/anthony/OpenFOAM/OpenFOAM-v2212/platforms/darwin64ClangDPInt64Opt/bin/addr2line] Error 1
tonytx05 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
[OpenFOAM.org] Instructions to install OpenFOAM-2.4.x on CentOS-6.10 redbullah OpenFOAM Installation 9 September 7, 2019 17:18
GAMG crash fxzf OpenFOAM Running, Solving & CFD 6 June 5, 2018 05:09
[swak4Foam] groovyBC issue - k and epsilon sagnikmazumdar OpenFOAM Community Contributions 24 March 1, 2015 07:16
Compilation error OF1.5-dev on Suse10.3 darenyang OpenFOAM Installation 0 April 29, 2009 04:55


All times are GMT -4. The time now is 18:54.