ATF-devel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ATF under OSX problems
On Wed, Dec 15, 2010 at 11:20 PM, e <ekamperi%gmail.com@localhost> wrote:
> 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)
You are trying to link the i386 version of atf to a 64-bit binary (and
also note you have an invalid -L path). Try passing -m32 to your
build.
--
Julio Merino
Home |
Main Index |
Thread Index |
Old Index