[openib-general] OFED 1.0-pre 1 build issues.
Michael S. Tsirkin
mst at mellanox.co.il
Wed Jun 14 14:28:48 PDT 2006
Quoting r. Paul <paul.lundin at gmail.com>:
> Subject: OFED 1.0-pre 1 build issues.
>
> Hello All,
> Using the default build.sh script on x86_64 rhel4u3 works flawlessly. However when doing the same thing on ppc64 the build fails (both are "everything" installs). The frustrating thing about the failure is that its failing while looking in the wrong
> locations for some libraries. Instead of looking in the lib64 directories its looking in lib. I have tried setting LDFLAGS, CXXFLAGS, CCFLAGS and CFLAGS to -m64 with no change, lib64 stuff is listed before lib in ld.so.conf (which I think only affects
> runtime ...). Here is the exact error:
>
Maybe, write a small script along the lines of
#!/bin/perl
my $name = $0;
$name =~ s#.*/##;
exec("/usr/bin/$name", "-m64", @ARGV);
and have it linked as ld, gcc and g++ on path before /usr/bin?
--
MST
More information about the general
mailing list