I am having trouble compiling NCO. Just did a fink selfupdate. Running OS 10.4.2, latest updates xcode 2.1. Also

fink --version
Package manager version: 0.24.10
Distribution version: 0.8.0.rsync

gcc --verion
powerpc-apple-darwin8-gcc-4.0.0: no input files

Below is the output where the trouble appears to have begun.

TIA,

-Roy M.


bison -y  -d ncap_yacc.y
if test -f y.tab.h; then \
  to=`echo "ncap_yacc_H" | sed \
                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
  sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >ncap_yacc.ht; \
  rm -f y.tab.h; \
  if cmp -s ncap_yacc.ht ncap_yacc.h; then \
    rm -f ncap_yacc.ht ;\
  else \
    mv ncap_yacc.ht ncap_yacc.h; \
  fi; \
fi
if test -f y.output; then \
  mv y.output ncap_yacc.output; \
fi
sed '/^#/ s|y\.tab\.c|ncap_yacc.c|' y.tab.c >ncap_yacc.ct && mv ncap_yacc.ct ncap_yacc.c
rm -f y.tab.c
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -I/sw/include/libnc-dap -DNC_64BIT_OFFSET=0 -I/sw/include -g -O2 -std=c99 -D_BSD_SOURCE -MT ncap_yacc.o -MD -MP -MF ".deps/ncap_yacc.Tpo" -c -o ncap_yacc.o ncap_yacc.c; \ then mv -f ".deps/ncap_yacc.Tpo" ".deps/ncap_yacc.Po"; else rm -f ".deps/ncap_yacc.Tpo"; exit 1; fi
In file included from ncap_yacc.y:50:
/sw/include/netcdf.h:98:1: warning: "NC_64BIT_OFFSET" redefined
<command line>:1:1: warning: this is the location of the previous definition
/bin/sh ../../autobld/ylwrap ncap_lex.l lex.yy.c ncap_lex.c -- flex
if cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -I/sw/include/libnc-dap -DNC_64BIT_OFFSET=0 -I/sw/include -g -O2 -std=c99 -D_BSD_SOURCE -MT ncap_lex.o -MD -MP -MF ".deps/ncap_lex.Tpo" -c -o ncap_lex.o ncap_lex.c; \ then mv -f ".deps/ncap_lex.Tpo" ".deps/ncap_lex.Po"; else rm -f ".deps/ncap_lex.Tpo"; exit 1; fi
In file included from ncap_lex.l:54:
/sw/include/netcdf.h:98:1: warning: "NC_64BIT_OFFSET" redefined
<command line>:1:1: warning: this is the location of the previous definition
/bin/sh ../../libtool --preserve-dup-deps --mode=link cc -g -O2 -std=c99 -D_BSD_SOURCE -L/sw/lib -L/sw/lib -o ncap ncap_utl.o ncap.o ncap_yacc.o ncap_lex.o libnco.la -ludunits -lnco -lresolv -lintl -lm -lnc-dap -L/sw/lib -lnc-dap -L/sw/lib -ldap -L/sw/system-openssl/lib -L/sw/lib -lcurl -no-undefined -L/sw/lib/system-openssl/lib -L/sw/lib -L/sw/lib/system-openssl/lib -lssl -lcrypto -lz -L/sw/lib -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -lpthread -lstdc++ -ludunits cc -g -O2 -std=c99 -D_BSD_SOURCE -o ncap ncap_utl.o ncap.o ncap_yacc.o ncap_lex.o -L/sw/lib ./.libs/libnco.a -ludunits -L/usr/local/lib -L/sw/lib/dods/lib -lpthread -lz -lm -ludunits -lm -L/sw/system-openssl/lib -L/sw/lib/system-openssl/lib -lz -lm -lpthread -lz -lm -lpthread -lz -lm -lpthread -lz -lz -lpthread -lz -lm -lz -lpthread -lm -lpthread -ludunits -ludunits -lnc-dods -ldap++ -lrx /sw/lib/dods/lib/libcurl.a -lpthread -ldl -lz /sw/lib/libnco.a -lm -lnetcdf -ludunits -lresolv /sw/lib/libintl.dylib -lm -lz -lm -lpthread /sw/lib/libnc-dap.dylib -lz -lm -lpthread /sw/lib/libdap.dylib -lz -lm -lpthread /sw/lib/libcurl.dylib -lz -lssl -lcrypto -lz /sw/lib/libxml2.dylib -lpthread -lz -lm -lz -lpthread /sw/lib/libiconv.dylib -lm -lpthread -lstdc++ -ludunits
/usr/bin/ld: warning -L: directory name (/sw/system-openssl/lib) does not exist
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
/usr/bin/ld: Undefined symbols:
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage
std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
std::__default_alloc_template<true, 0>::_S_force_new
std::__default_alloc_template<true, 0>::_S_free_list
std::__default_alloc_template<true, 0>::_S_node_allocator_lock
std::__default_alloc_template<true, 0>::_S_refill(unsigned long)
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_create(unsigned long, std::allocator<char> const&)
std::__default_alloc_template<true, 0>::allocate(unsigned long)
__ZNSt15basic_streambufIcSt11char_traitsIcEEC4Ev
__ZNSt15basic_streambufIcSt11char_traitsIcEED4Ev
__ZNSsD4Ev
__ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
__ZNSaIcED4Ev
symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
collect2: ld returned 1 exit status
make[3]: *** [ncap] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /var/tmp/tmp.1.qTYVNa failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-nco-3.0.2-1
(Reading database ... 57897 files and directories currently installed.)
Removing fink-buildlock-nco-3.0.2-1 ...
Failed: phase compiling: nco-3.0.2-1 failed
--
**********************
"The contents of this message do not reflect any position of the Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: [EMAIL PROTECTED] (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to