ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ATF under OSX problems



Salute.

I just built ATF from pkgsrc-2010Q3 under OSX and then tried to build my test 
suite.
Here is what I got:

stathis:mathlib/fenv% make
g++ -c -o obj-fenv/t_extern.o t_extern.cpp -Wall -W -g -I../include 
-I/usr/opt/include -I/Users/stathis/pkg/include -L/usr/opt/lib 
-L/Users/stathis/pkg/lib
g++ -o t_extern obj-fenv/t_extern.o -Wall -W -g -I../include -I/usr/opt/include 
-I/Users/stathis/pkg/include -L/usr/opt/lib -L/Users/stathis/pkg/lib -latf-c++ 
-latf-c
ld: warning: directory '/usr/opt/lib' following -L not found
ld: warning: in /Users/stathis/pkg/lib/libatf-c++.dylib, file was built for 
i386 which is not the architecture being linked (x86_64)
ld: warning: in /Users/stathis/pkg/lib/libatf-c.dylib, file was built for i386 
which is not the architecture being linked (x86_64)
Undefined symbols:
  "atf::tests::tc::set_md_var(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&)", referenced from:
      atfu_tc_test_extern::head()      in t_extern.o
  "atf::tests::run_tp(int, char* const*, void (*)(std::vector<atf::tests::tc*, 
std::allocator<atf::tests::tc*> >&))", referenced from:
      _main in t_extern.o
  "atf::tests::tc::cleanup() const", referenced from:
      vtable for atfu_tc_test_externin t_extern.o
  "atf::tests::tc::tc(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&, bool)", referenced from:
      atfu_tc_test_extern::atfu_tc_test_extern()in t_extern.o
  "typeinfo for atf::tests::tc", referenced from:
      typeinfo for atfu_tc_test_externin t_extern.o
  "atf::tests::tc::fail(std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > const&)", referenced from:
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
      atfu_tc_test_extern::body() const in t_extern.o
  "atf::tests::tc::~tc()", referenced from:
      atfu_tc_test_extern::~atfu_tc_test_extern()in t_extern.o
      atfu_tc_test_extern::~atfu_tc_test_extern()in t_extern.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [t_extern] Error 1
stathis:mathlib/fenv% 

Does it make any sense to anyone ?

Best regards,
Stathis



Home | Main Index | Thread Index | Old Index