Re: 64bits & df
On Tue, Nov 11, 2003 at 07:40:34PM -0600, Otto Solares wrote:
> Hi!
>
> i am trying to compile an app with 64bits on a ultrasparc,
> so i installed lib6-dev-sparc64 package, kernel 2.6.0-test9-bk16:
>
> solca@netra1:~$ gcc -o hello hello.c
> solca@netra1:~$ file hello
> hello: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs), not stripped
> solca@netra1:~$ ./hello
> ./hello: error while loading shared libraries: /lib64/libc.so.6: unexpected reloc type 0x08
Something is currently broken with glibc for 64-bit. I'm not sure what
or why, but I have to look at it this week.
> and this 'df' problem:
>
> solca@netra1:~$ df -h
> Filesystem Size Used Avail Use% Mounted on
> df: `/': Invalid argument
> df: `/proc': Invalid argument
> df: `/dev/pts': Invalid argument
> df: `/sys': Invalid argument
df is working fine for me. Is something broken in your /etc/fstab?
--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/
Reply to: