vinipsmaker
(usa Arch Linux)
Enviado em 26/04/2009 - 21:00h
Eu desinstalei a Debian e estou usando a ubuntu, consegui instalar o SDL-dev na ubuntu edeu erro na compilação:
vinicius@debian-desktop:~/test/libas$ gcc test.c -o test_sdl libas_sdl.a -lSDL -DSDL -Wall
test.c: In function ‘main’:
test.c:336: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
test.c:337: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
test.c:338: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_base.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_clist.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_font.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_func.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_gui.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_obj.o)' is incompatible with i386:x86-64 output
/usr/bin/ld: i386 architecture of input file `libas_sdl.a(as_win.o)' is incompatible with i386:x86-64 output
collect2: ld returned 1 exit status
que programa uso para abrir os arquivos *.a?