#12988 closed defect (fixed)
Building cdf fails with "Undefined symbols" error
Reported by: | jks@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | Cc: | jmroot (Joshua Root) | |
Port: |
Description
This is on OS X version 10.4.10 on a MacBook Pro. MacPorts couldn't download cdf, but I found the file on the NASA web site, and the checksum verifies. Here's a log of "sudo port -d install cdf":
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf DEBUG: Requested variant darwin is not provided by port cdf. DEBUG: Requested variant i386 is not provided by port cdf. DEBUG: Requested variant macosx is not provided by port cdf. DEBUG: Executing variant darwin_i386 provides darwin_i386 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc42 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc42 DEBUG: Requested variant darwin is not provided by port gcc42. DEBUG: Requested variant i386 is not provided by port gcc42. DEBUG: Requested variant macosx is not provided by port gcc42. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: gcc42 DEBUG: Found Dependency: receipt exists for gcc42 DEBUG: Executing org.macports.main (cdf) ---> Fetching cdf DEBUG: Executing org.macports.fetch (cdf) ---> Verifying checksum(s) for cdf DEBUG: Executing org.macports.checksum (cdf) ---> Checksumming cdf31-dist-all.tar.gz DEBUG: Correct (sha1) checksum for cdf31-dist-all.tar.gz ---> Extracting cdf DEBUG: Executing org.macports.extract (cdf) ---> Extracting cdf31-dist-all.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/cdf/cdf31-dist-all.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/work" && gzip -dc /opt/local/var/macports/distfiles/cdf/cdf31-dist-all.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (cdf) ---> Applying patches to cdf ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf/files/patch-Makefile DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/work/cdf31-dist" && patch -p0' patching file Makefile ---> Configuring cdf DEBUG: Executing org.macports.configure (cdf) ---> Building cdf with target all DEBUG: Executing org.macports.build (cdf) gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdflib.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcre.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfope.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfclo.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfdel.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfsel.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcon.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfget.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfread.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfwrite.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfhyper.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c epochuf.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c dirutils.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfput1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfput2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcsi.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdffsi.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdffii.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdftext.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfed.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfstr.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfvalid.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmem.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c vstream.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c epochu.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc3.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfhuff.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfrle.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfalloc.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfgzip.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfalloc64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfdel64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc2_64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfread64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfclo64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfget64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc3_64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfsel64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcon64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfput1_64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfwrite64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcre64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfmisc1_64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfput2_64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c vstream64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfhyper64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfrle64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfhuff64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfgzip64.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdffsi2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdffsi3.c ar rc libcdf.a cdflib.o cdfcre.o cdfope.o cdfclo.o cdfdel.o cdfsel.o cdfcon.o cdfget.o cdfmisc2.o cdfread.o cdfwrite.o cdfhyper.o epochuf.o dirutils.o cdfput1.o cdfput2.o cdfcsi.o cdffsi.o cdffii.o cdftext.o cdfed.o cdfstr.o cdfvalid.o cdfmem.o vstream.o epochu.o cdfmisc3.o cdfhuff.o cdfrle.o cdfmisc1.o cdfalloc.o cdfgzip.o cdfalloc64.o cdfdel64.o cdfmisc2_64.o cdfread64.o cdfclo64.o cdfget64.o cdfmisc3_64.o cdfsel64.o cdfcon64.o cdfput1_64.o cdfwrite64.o cdfcre64.o cdfmisc1_64.o cdfput2_64.o vstream64.o cdfhyper64.o cdfrle64.o cdfhuff64.o cdfgzip64.o cdffsi2.o cdffsi3.o ranlib libcdf.a libtool -syslibroot /Developer/SDKs/MacOSX10.4u.sdk -arch_only i386 -dynamic -o libcdf.dylib cdflib.o cdfcre.o cdfope.o cdfclo.o cdfdel.o cdfsel.o cdfcon.o cdfget.o cdfmisc2.o cdfread.o cdfwrite.o cdfhyper.o epochuf.o dirutils.o cdfput1.o cdfput2.o cdfcsi.o cdffsi.o cdffii.o cdftext.o cdfed.o cdfstr.o cdfvalid.o cdfmem.o vstream.o epochu.o cdfmisc3.o cdfhuff.o cdfrle.o cdfmisc1.o cdfalloc.o cdfgzip.o cdfalloc64.o cdfdel64.o cdfmisc2_64.o cdfread64.o cdfclo64.o cdfget64.o cdfmisc3_64.o cdfsel64.o cdfcon64.o cdfput1_64.o cdfwrite64.o cdfcre64.o cdfmisc1_64.o cdfput2_64.o vstream64.o cdfhyper64.o cdfrle64.o cdfhuff64.o cdfgzip64.o cdffsi2.o cdffsi3.o -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfxp.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfxp1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfxp2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c windoz.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c widgets.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c toolbox1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c toolbox3.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfxp cdfxp.o cdfxp1.o cdfxp2.o windoz.o widgets.o toolbox1.o toolbox3.o ../lib/libcdf.a -lcurses -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfedit.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfedit1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfedit2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfedit3.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfedit cdfedit.o cdfedit1.o cdfedit2.o cdfedit3.o windoz.o widgets.o toolbox1.o toolbox3.o ../lib/libcdf.a -lcurses -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcvt.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfcvt cdfcvt.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfstats.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfstat1.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfstat2.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfstats cdfstats.o cdfstat1.o cdfstat2.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfcmp.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfcmp cdfcmp.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdf2skt.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdf2skt cdf2skt.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c skt2cdf.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o skt2cdf skt2cdf.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfinq.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfinq cdfinq.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c cdfdump.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o cdfdump cdfdump.o toolbox1.o toolbox3.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c qst2c.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2c qst2c.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c qst2ic.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2ic qst2ic.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c qst2icEPOCH16.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2icEPOCH16 qst2icEPOCH16.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../include -c qst2cNew.c gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2cNew qst2cNew.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2cS qst2c.o ../lib/libcdf.dylib -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2icS qst2ic.o ../lib/libcdf.dylib -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2icEPOCH16S qst2ic.o ../lib/libcdf.dylib -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -o qst2cNewS qst2cNew.o ../lib/libcdf.dylib -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc gfortran-mp-4.2 -w -fsecond-underscore -c qst2f.f gfortran-mp-4.2 -o qst2f qst2f.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -L/usr/lib/gcc/i686-apple-darwin8/4.0.1 -lm -lc -lgcc -lSystemStubs /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/gcc42/libgfortran.2.dylib is not prebound /usr/bin/ld: Undefined symbols: _cdf_attr_create__ _cdf_attr_entry_inquire__ _cdf_attr_get__ _cdf_attr_inquire__ _cdf_attr_num__ _cdf_attr_put__ _cdf_attr_rename__ _cdf_close__ _cdf_create__ _cdf_delete__ _cdf_doc__ _cdf_error__ _cdf_inquire__ _cdf_open__ _cdf_var_close__ _cdf_var_create__ _cdf_var_get__ _cdf_var_hyper_get__ _cdf_var_hyper_put__ _cdf_var_inquire__ _cdf_var_num__ _cdf_var_put__ _cdf_var_rename__ _compute_epoch__ _encode_epoch1__ _encode_epoch2__ _encode_epoch3__ _encode_epoch__ _epoch_breakdown__ _parse_epoch1__ _parse_epoch2__ _parse_epoch3__ _parse_epoch__ collect2: ld returned 1 exit status make[1]: *** [qst2f] Error 1 make: *** [all.build] Error 2 Error: Target org.macports.build returned: shell command "make OS=macosx ENV=i386 FORTRAN=yes FC=gfortran-mp-4.2 all" returned error 2 Command output: _cdf_attr_rename__ _cdf_close__ _cdf_create__ _cdf_delete__ _cdf_doc__ _cdf_error__ _cdf_inquire__ _cdf_open__ _cdf_var_close__ _cdf_var_create__ _cdf_var_get__ _cdf_var_hyper_get__ _cdf_var_hyper_put__ _cdf_var_inquire__ _cdf_var_num__ _cdf_var_put__ _cdf_var_rename__ _compute_epoch__ _encode_epoch1__ _encode_epoch2__ _encode_epoch3__ _encode_epoch__ _epoch_breakdown__ _parse_epoch1__ _parse_epoch2__ _parse_epoch3__ _parse_epoch__ collect2: ld returned 1 exit status make[1]: *** [qst2f] Error 1 make: *** [all.build] Error 2 Warning: the following items did not execute (for cdf): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Attachments (1)
Change History (8)
comment:1 Changed 17 years ago by nox@…
Cc: | gwright@… jks@… added |
---|---|
Milestone: | → Port Bugs |
comment:2 Changed 17 years ago by adfernandes (Andrew Fernandes)
Changed 17 years ago by adfernandes (Andrew Fernandes)
builds cdf with '-fno-second-underscore' for compatibility with opendx
comment:3 Changed 17 years ago by jmroot (Joshua Root)
Cc: | gwright@… jks@… removed |
---|---|
Owner: | changed from macports-tickets@… to gwright@… |
Assigning to maintainer.
comment:5 Changed 17 years ago by jks@…
It builds now, so I suppose the answer is yes. In the meantime I've upgraded to Leopard, so a lot of other things have changed as well and I can't be sure what specifically fixed the problem.
comment:6 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The problem appears that the cdf library is built on purpose to use that (swear,curse) convention of two underscores in fortran.
Attached is a patch. Building OpenDX with CDF works fine with this patch.