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

Re: Debian/sparc64 compilation error

On Thu, May 16, 2002 at 08:38:01PM -0400, Shanti Katta wrote:
> Hi,
> I have this UltraSparc-I system on which I installed potato 2.2.r6. 
> Then I apt-get dist-upgraded to sid. I am currently running 2.4.18
> kernel on it. When I try to compile this small program to test whether
> my system can run 64-bit user applications:
> #include <stdio.h>
> #include <stddef.h>
> int main (void)
> { 
>   printf("This is sample program to test if it can run 64-bit user
> apps\n");
>   printf("sizeof (void*) = %d\n", (int) sizeof (void*)) ;
>   return 0 ;
> } 
> I try to compile this program with: gcc-3.0 -m64 test.c, I get the
> following errors:
> /usr/bin/ld: skipping incompatible /lib/libc.so.6 when searching for
> /lib/libc.so.6
> /usr/bin/ld: cannot find /lib/libc.so.6.
> I also have egcs64 installed and recently did apt-get update and apt-get
> upgrade. What might be missing in my system? Is it some issue with the
> compiler? I would really appreciate, if someone could help me resolve
> this issue, as this would be affecting my port of user-mode-linux to
> SPARC64 arch, which I have recently started.
> Please CC me as I am not subscribed to the list.

apt-get install libc6-dev-sparc64

Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/

To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: