Pessoal,

instalei o allegro 4.2.2 no ubuntu pelo gerenciador de pacotes synaptic, tentei 
compilar meu aplicativo e no momento do linker ele não consegue resolver 
(achar) a biblioteca alleg_unsharable, alguma dica ? abaixo o resultado da 
compilação :

gcc -O3 -Wall -c new1024.c          -o new1024.o
new1024.c:270: warning: built-in function ‘gamma’ declared as non-function
new1024.c: In function ‘main’:
new1024.c:817: warning: ignoring return value of ‘system’, declared with 
attribute warn_unused_result
new1024.c: In function ‘printreg’:
new1024.c:2880: warning: statement with no effect
new1024.c: In function ‘shutdown’:
new1024.c:3967: warning: ignoring return value of ‘feof’, declared with 
attribute warn_unused_result
gcc -O3 -o new1024u new1024.o  -Xlinker -L/usr/local/lib \
    -Xlinker -L/usr/X11R6/lib  -Xlinker -L/usr/lib/mysql -Xlinker 
-L/usr/lib/allegro\
    -lalleg-4.2.2 \
    -lalleg_unsharable \
    -lmysqlclient \
    -laastr \
    -lalfont \
    -lfblend
/usr/bin/ld: cannot find -lalleg_unsharable
collect2: ld returned 1 exit status
make: ** [all] Erro 1


 Carlos Eduardo Scarlato


      Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-- 
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece

Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a