[hdf-forum] Compiling C++ library under OS X 10.5 (version 1.6.9)
Michael Jackson
mike.jackson at bluequartz.net
Fri Jun 12 15:18:00 EDT 2009
That gets me farther. Now I get the error:
make lib
make[1]: Nothing to be done for `lib'.
make progs
rm -f .libs/h5diff_main.lo
gcc -arch x86_64 -std=c99 -Wno-long-long -O -fomit-frame-pointer -
finline-functions -I. -I. -I../../src -I../../src -I../../tools/lib -
UH5_DEBUG_API -DNDEBUG -c h5diff_main.c -fno-common -DPIC -o .libs/
h5diff_main.lo
h5diff_main.c: In function 'main':
h5diff_main.c:106: warning: passing argument 3 of 'parse_command_line'
from incompatible pointer type
h5diff_main.c:106: warning: passing argument 4 of 'parse_command_line'
from incompatible pointer type
h5diff_main.c:106: warning: passing argument 5 of 'parse_command_line'
from incompatible pointer type
h5diff_main.c:106: warning: passing argument 6 of 'parse_command_line'
from incompatible pointer type
gcc -arch x86_64 -std=c99 -Wno-long-long -O -fomit-frame-pointer -
finline-functions -I. -I. -I../../src -I../../src -I../../tools/lib -
UH5_DEBUG_API -DNDEBUG -c h5diff_main.c -o h5diff_main.o >/dev/null 2>&1
mv -f .libs/h5diff_main.lo h5diff_main.lo
libtool: link: warning: `AC_LIBTOOL_DLOPEN' not used. Assuming no
dlopen support.
rm -f .libs/h5diff.nm .libs/h5diff.nmS .libs/h5diff.nmT
creating .libs/h5diffS.c
generating symbol list for `h5diff'
sort: open failed: +2: No such file or directory
(cd .libs && gcc -c -fno-builtin "h5diffS.c")
rm -f .libs/h5diffS.c .libs/h5diff.nm .libs/h5diff.nmS .libs/h5diff.nmT
gcc .libs/h5diffS.o -arch x86_64 -std=c99 -Wno-long-long -O -fomit-
frame-pointer -finline-functions -o .libs/h5diff h5diff_main.o ../
lib/.libs/libh5tools.a -L../../src/.libs -lhdf5 -lz -lm
ld warning: in .libs/h5diffS.o, file is not of required architecture
ld warning: in ../../src/.libs/libhdf5.dylib, file is not of required
architecture
Undefined symbols:
Some how something is still being built as 32 bit. Odd.
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
www.bluequartz.net
On Jun 12, 2009, at 2:58 PM, Sean McBride wrote:
> On 6/12/09 2:55 PM, Michael Jackson said:
>
>> Well, OK. But I still need to get the -arch flag into the C++ compile
>> commands. Just setting CFLAGS isn't good enough for this build
>> system.
>
> Right; so set arch in CFLAGS and CXXFLAGS (but not CPPFLAGS). I think
> you are confusing CXXFLAGS and CPPFLAGS.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng sean at rogue-research.com
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
----------------------------------------------------------------------
This mailing list is for HDF software users discussion.
To subscribe to this list, send a message to hdf-forum-subscribe at hdfgroup.org.
To unsubscribe, send a message to hdf-forum-unsubscribe at hdfgroup.org.
More information about the Hdf-forum
mailing list