Não consigo compilar nada! [RESOLVIDO]

1. Não consigo compilar nada! [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 12/03/2009 - 15:22h

Olá!

Estou puto com o meu Slack 12.1! Não consigo compilar nada nele: vmware, módulos, aplicativos em geral... ou falta algum arquivo header e/ou dá incompatibilidade. Ex.:

make[2]: Entering directory `/home/renato/msnshadow-0.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
In file included from /usr/include/mimic.h:21,
from msnshadow.h:31,
from main.cpp:22:
/usr/include/glib.h:30:26: error: glib/galloca.h: No such file or directory
/usr/include/glib.h:31:25: error: glib/garray.h: No such file or directory
/usr/include/glib.h:32:30: error: glib/gasyncqueue.h: No such file or directory
/usr/include/glib.h:33:26: error: glib/gatomic.h: No such file or directory
/usr/include/glib.h:34:29: error: glib/gbacktrace.h: No such file or directory
/usr/include/glib.h:35:26: error: glib/gbase64.h: No such file or directory
/usr/include/glib.h:36:32: error: glib/gbookmarkfile.h: No such file or directory
/usr/include/glib.h:37:25: error: glib/gcache.h: No such file or directory
/usr/include/glib.h:38:30: error: glib/gcompletion.h: No such file or directory
/usr/include/glib.h:39:27: error: glib/gconvert.h: No such file or directory
/usr/include/glib.h:40:27: error: glib/gdataset.h: No such file or directory
/usr/include/glib.h:41:24: error: glib/gdate.h: No such file or directory
/usr/include/glib.h:42:23: error: glib/gdir.h: No such file or directory
/usr/include/glib.h:43:25: error: glib/gerror.h: No such file or directory
/usr/include/glib.h:44:29: error: glib/gfileutils.h: No such file or directory
/usr/include/glib.h:45:24: error: glib/ghash.h: No such file or directory
/usr/include/glib.h:46:24: error: glib/ghook.h: No such file or directory
/usr/include/glib.h:47:29: error: glib/giochannel.h: No such file or directory
/usr/include/glib.h:48:27: error: glib/gkeyfile.h: No such file or directory
/usr/include/glib.h:49:24: error: glib/glist.h: No such file or directory
/usr/include/glib.h:50:26: error: glib/gmacros.h: No such file or directory
/usr/include/glib.h:51:24: error: glib/gmain.h: No such file or directory
/usr/include/glib.h:52:30: error: glib/gmappedfile.h: No such file or directory
/usr/include/glib.h:53:26: error: glib/gmarkup.h: No such file or directory
/usr/include/glib.h:54:23: error: glib/gmem.h: No such file or directory
/usr/include/glib.h:55:28: error: glib/gmessages.h: No such file or directory
/usr/include/glib.h:56:24: error: glib/gnode.h: No such file or directory
/usr/include/glib.h:57:26: error: glib/goption.h: No such file or directory
/usr/include/glib.h:58:27: error: glib/gpattern.h: No such file or directory
/usr/include/glib.h:59:26: error: glib/gprimes.h: No such file or directory
/usr/include/glib.h:60:25: error: glib/gqsort.h: No such file or directory
/usr/include/glib.h:61:25: error: glib/gquark.h: No such file or directory
/usr/include/glib.h:62:25: error: glib/gqueue.h: No such file or directory
/usr/include/glib.h:63:24: error: glib/grand.h: No such file or directory
/usr/include/glib.h:64:23: error: glib/grel.h: No such file or directory
/usr/include/glib.h:65:25: error: glib/gregex.h: No such file or directory
/usr/include/glib.h:66:27: error: glib/gscanner.h: No such file or directory
/usr/include/glib.h:67:28: error: glib/gsequence.h: No such file or directory
/usr/include/glib.h:68:25: error: glib/gshell.h: No such file or directory
/usr/include/glib.h:69:25: error: glib/gslist.h: No such file or directory
/usr/include/glib.h:70:25: error: glib/gspawn.h: No such file or directory
/usr/include/glib.h:71:28: error: glib/gstrfuncs.h: No such file or directory
/usr/include/glib.h:72:26: error: glib/gstring.h: No such file or directory
/usr/include/glib.h:73:26: error: glib/gthread.h: No such file or directory
/usr/include/glib.h:74:30: error: glib/gthreadpool.h: No such file or directory
/usr/include/glib.h:75:25: error: glib/gtimer.h: No such file or directory
/usr/include/glib.h:76:24: error: glib/gtree.h: No such file or directory
/usr/include/glib.h:77:25: error: glib/gtypes.h: No such file or directory
/usr/include/glib.h:78:27: error: glib/gunicode.h: No such file or directory
/usr/include/glib.h:79:25: error: glib/gutils.h: No such file or directory
In file included from msnshadow.h:34,
from main.cpp:22:
msnshadowitemvideo.h:463:7: warning: no newline at end of file
In file included from msnshadow.h:27,
from main.cpp:22:
msnshadowitemchat.h: In constructor 'chatEvent::chatEvent(QString, QString, QString, int, short unsigned int, short unsigned int)':
msnshadowitemchat.h:51: warning: 'chatEvent::id' will be initialized after
msnshadowitemchat.h:49: warning: 'short unsigned int chatEvent::port1'
msnshadowitemchat.h:47: warning: when initialized here
In file included from msnshadow.h:31,
from main.cpp:22:
/usr/include/mimic.h: At global scope:
/usr/include/mimic.h:51: error: 'gboolean' does not name a type
/usr/include/mimic.h:52: error: 'gboolean' does not name a type
/usr/include/mimic.h:54: error: 'gboolean' does not name a type
/usr/include/mimic.h:55: error: 'gboolean' does not name a type
/usr/include/mimic.h:57: error: 'gboolean' does not name a type
/usr/include/mimic.h:62: error: 'gboolean' does not name a type
In file included from msnshadow.h:34,
from main.cpp:22:
msnshadowitemvideo.h: In constructor 'msnShadowItemVideoEvent::msnShadowItemVideoEvent(QString, QString)':
msnshadowitemvideo.h:411: warning: 'msnShadowItemVideoEvent::ip_src' will be initialized after
msnshadowitemvideo.h:411: warning: 'QString msnShadowItemVideoEvent::ip_dst'
msnshadowitemvideo.h:410: warning: when initialized here
msnshadowitemvideo.h: In constructor 'labelEvent::labelEvent(QLabel*, QPixmap)':
msnshadowitemvideo.h:419: warning: 'labelEvent::labelzao' will be initialized after
msnshadowitemvideo.h:418: warning: 'QPixmap labelEvent::pix'
msnshadowitemvideo.h:417: warning: when initialized here
msnshadowitemvideo.h: In constructor 'memcpyEvent::memcpyEvent(char*, int, char*, int, int, int*)':
msnshadowitemvideo.h:428: warning: 'memcpyEvent::soma' will be initialized after
msnshadowitemvideo.h:427: warning: 'char* memcpyEvent::buffer'
msnshadowitemvideo.h:426: warning: when initialized here
msnshadowitemvideo.h: In constructor 'memcpyyyEvennnt::memcpyyyEvennnt(char*, int, char*, int, int, int*)':
msnshadowitemvideo.h:456: warning: 'memcpyyyEvennnt::soma' will be initialized after
msnshadowitemvideo.h:455: warning: 'char* memcpyyyEvennnt::buffer'
msnshadowitemvideo.h:454: warning: when initialized here
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/renato/msnshadow-0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/renato/msnshadow-0.3'
make: *** [all] Error 2

Tentei compilar o msn shadow, nesse exemplo... alguém pode me ajudar ae???


  


2. MELHOR RESPOSTA

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 20/03/2009 - 10:53h

dei uma olhada de perto nisso e descobri o seguinte:
falta uma checagem pela glib no configure. desse modo, faltam as flags das headers da glib para a compilação. resultado: a tal libmimic não consegue enxergar a glib.

para contornar isso manualmente, faça:

$ make CXXFLAGS="$CXXFLAGS `pkg-config glib --cflags`" LDFLAGS="$LDFLAGS `pkg-config glib --libs`"

3. Re: Não consigo compilar nada! [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 13/03/2009 - 15:17h

Ninguém??


4. Re: Não consigo compilar nada! [RESOLVIDO]

Diego Hernandes Soares Alves
diegohsa

(usa Arch Linux)

Enviado em 13/03/2009 - 15:30h

Você deve pegar os pacotes de compiladores, o glibc, o build-essentials, etc:

Procura na internet algo sobre compilação de programas no slack


5. Re: Não consigo compilar nada! [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 13/03/2009 - 15:45h

Vou t explicar a parada: tenho um note e um desktop, um com slack e outro com debian, respectivamente. Em ambos eu precisei compilar o kernel e em ambos possuo o msm problema. Esses pacotes glibc, build-essentials... todos eles já encontram-se instalados. Já não sei mais o q faço.


6. Re: Não consigo compilar nada! [RESOLVIDO]

Sérgio Abrantes Junior
pelo

(usa Debian)

Enviado em 14/03/2009 - 13:30h

Meu caro,

glibc são alguns pacotes.

[ installed ] - glibc-solibs-2.5-i486-4
[ installed ] - glibc-zoneinfo-2.5-noarch-4
[ installed ] - gettext-tools-0.16.1-i486-3
[ installed ] - glib-1.2.10-i486-3
[ installed ] - glib2-2.12.12-i486-1
[ installed ] - glibc-2.5-i486-4
[ installed ] - glibc-i18n-2.5-noarch-4
[ installed ] - glibc-profile-2.5-i486-4

Veja se esses estão também instalados:

[ installed ] - cmake-2.4.6-i486-2
[ installed ] - gcc-4.1.2-i486-1
[ installed ] - gcc-g++-4.1.2-i486-1
[ installed ] - gcc-gfortran-4.1.2-i486-1
[ installed ] - gcc-gnat-4.1.2-i486-1
[ installed ] - gcc-java-4.1.2-i486-1
[ installed ] - gcc-objc-4.1.2-i486-1

Sérgio Abrantes
[]'s



7. Re: Não consigo compilar nada! [RESOLVIDO]

Sérgio Abrantes Junior
pelo

(usa Debian)

Enviado em 17/03/2009 - 08:43h

E ai meu caro...deu certo?

Sérgio Abrantes
[]'s


8. Re: Não consigo compilar nada! [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 17/03/2009 - 12:34h

Velhim, ainda não tive tempo d fuçar, pois surgiu umas paradas ae pra eu fazer, mas amanhã é quase certeza q eu testarei. Não se preocupe q vou falar se deu certo ou errado.

Valew!


9. Re: Não consigo compilar nada! [RESOLVIDO]

Marco Carvalho de Oliveira
demoncyber

(usa FreeBSD)

Enviado em 17/03/2009 - 12:51h

Instala este pacote, que provavelmente vai resolver este seu problema de não econtrar o arquivo.

http://packages.slackware.it/search.php?v=12.1&t=2&q=galloca.h


10. Re: Não consigo compilar nada! [RESOLVIDO]

Renato Carneiro Pacheco
renato_pacheco

(usa Debian)

Enviado em 18/03/2009 - 16:03h

Galera, todos esses pacotes já estavam instalados, fiz alguns upgrades, mas nada adiantou! :/ Mais alguma sugestão??


11. Re: Não consigo compilar nada! [RESOLVIDO]

Sérgio Abrantes Junior
pelo

(usa Debian)

Enviado em 18/03/2009 - 19:17h

Meu caro,

Já tentou compilar outra coisa para ver se consegue?
Qual a versão do teu Slack?
Manda um link para eu tentar compilar aqui no meu.

Sérgio Abrantes
[]'s


12. Re: Não consigo compilar nada! [RESOLVIDO]

Marcelo A. B. Slomp
mslomp

(usa Slackware)

Enviado em 18/03/2009 - 21:00h

falta a glib - não glibc



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts