Casper Dik wrote:
compiler. I have since determined that the test source file
(conftest28268.c) it is trying to compile doesn't exist. What should IIt's magically created by the build process and removed when it's done.
sneaky
Try compiling any C file, such as:
main(){}
with:
gcc -m64 x.c -o x
and run "file x", it should print that it's a 64 bit exec.
aha! Something is messed up here. I obtained gcc from the 3.2.1 package
from sunfreeware.com. I don't know how to check what package a file
belongs to, but `pkgchk -l SUNWsprot | grep Pathname:` tells me
/usr/ccs/bin/ld doesn't belong to that, and that's the only SUNWspro*
package I have installed. Perhaps this is my problem?[root@foobar: /usr/local/src/ip_fil3.4.31]
$ gcc -m64 test.c
ld: fatal: file /usr/ccs/lib/values-Xa.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
[root@foobar: /usr/local/src/ip_fil3.4.31]
$ echo $PATH
/usr/ccs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/ssl/bin:/usr/local/samba/bin
[root@foobar: /usr/local/src/ip_fil3.4.31]
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.2.1
[root@foobar: /usr/local/src/ip_fil3.4.31]
$
--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962
5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)
