Problems compiling burrtools 0.6.3 for OS X

Post Reply
DavidAHood
Posts: 3
Joined: December 30th, 2015, 10:36 pm

Problems compiling burrtools 0.6.3 for OS X

Post by DavidAHood » December 31st, 2015, 3:01 am

I'm having some trouble trying to compile burrtools 0.6.3 for OS X; when I run make I get:

CXX help/help_helpviewer-flstring.o
CXXLD help/helpviewer
duplicate symbol _fl_strlcpy in:
help/help_helpviewer-flstring.o
/usr/local/lib/libfltk.a(flstring.o)
duplicate symbol _fl_strlcat in:
help/help_helpviewer-flstring.o
/usr/local/lib/libfltk.a(flstring.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [help/helpviewer] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

I understand that I am accessing two different copies of flstring.o, but I have no clue which library should be used or how to remove the other; any help would be much appreciated. They didn't teach this stuff when I was in engineering school 40 years ago, but if anyone needs help with Fortran II, I'm your man.

User avatar
bluesign2k
Site Admin
Posts: 285
Joined: March 21st, 2011, 12:51 pm
Location: Worcestershire
Contact:

Re: Problems compiling burrtools 0.6.3 for OS X

Post by bluesign2k » December 31st, 2015, 5:21 pm

Are you trying to do this as an exercise or because you're trying to get a 0.6.3 binary for OSX? If it's the latter, then did you know that it already exists on sourceforge?

DavidAHood
Posts: 3
Joined: December 30th, 2015, 10:36 pm

Re: Problems compiling burrtools 0.6.3 for OS X

Post by DavidAHood » December 31st, 2015, 6:06 pm

I did not know that; thank you very much!

David

P.S. See previous regarding my software training.

Post Reply