![]() |
Pages (2): [1] 2 » Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Tech (http://www.dsy.it/forum/forumdisplay.php?forumid=189)
-- [COMPILAZIONE] Come compilare librerie... (http://www.dsy.it/forum/showthread.php?threadid=20675)
[COMPILAZIONE] Come compilare librerie...
Ciao!
Sto cercando di compilare VLC (VideoLAN) ma ho un problema.
Sto usando il compilatore gcc 3.4.1. e dovrei installare tutte le librerie disponibili.
Purtroppo però acune di esse (credo matroska e eblm) sono state compilate con una vecchia versione di gcc incompatibile con la mia, e questo genera un errore durante l'esecuzione del "make".
Vorrei quindi ricompilare quelle librerie con la mia versione di gcc per eliminare i problemi di incompatibilità... ma come fare?
Non ho mai compilato delle librerie, qualcuno mi potrebbe indicare la strada giusta?
Grazie mille... ![]()
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Che distro usi?Perche compili?Hai installato il vecchio compilatore?Potresti eventualmente compilare vlc con quello vecchio!
__________________
Khelidan
Originally posted by khelidan
Che distro usi?Perche compili?Hai installato il vecchio compilatore?Potresti eventualmente compilare vlc con quello vecchio!

__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Questi sono gli errori che mi da mentre eseguo il 'make':
code:
Info: resolving libebml::EbmlVoid::ClassInfos by linking to __imp___ZN7libebml8EbmlVoid10ClassInfosE (auto-import) Info: resolving libebml::EbmlHead::ClassInfos by linking to __imp___ZN7libebml8EbmlHead10ClassInfosE (auto-import) Info: resolving libebml::EbmlHead_Context by linking to __imp___ZN7libebml16EbmlHead_ContextE (auto-import) Info: resolving vtable for libebml::EbmlDateby linking to __imp___ZTVN7libebml8EbmlDateE (auto-import) Info: resolving vtable for libebml::EbmlUnicodeStringby linking to __imp___ZTVN7libebml17EbmlUnicodeStringE (auto-import) Info: resolving vtable for libebml::EbmlElementby linking to __imp___ZTVN7libebml11EbmlElementE (auto-import) Info: resolving vtable for libebml::EbmlUIntegerby linking to __imp___ZTVN7libebml12EbmlUIntegerE (auto-import) Info: resolving vtable for libebml::EbmlFloatby linking to __imp___ZTVN7libebml9EbmlFloatE (auto-import) Info: resolving vtable for libebml::EbmlStringby linking to __imp___ZTVN7libebml10EbmlStringE (auto-import) Info: resolving __ZTVN7l./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x690e): undefined reference to `libmatroska::KaxClusterSilentTrackNumber::ClassIn fos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x6b13): undefined reference to `libmatroska::KaxClusterSilentTracks::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0xf243): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x12d1e): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x12f2b): undefined reference to `libmatroska::KaxChapterTranslate::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x13035): undefined reference to `libmatroska::KaxChapterTranslateEditionUID::Class Infos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x130d1): undefined reference to `libmatroska::KaxChapterTranslateCodec::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x1318c): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x1346d): undefined reference to `libmatroska::KaxChapterProcessTime::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x134eb): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x142e8): undefined reference to `libmatroska::KaxChapterProcess::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x143b4): undefined reference to `libmatroska::KaxChapterProcessCodecID::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x14454): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x14a15): undefined reference to `libmatroska::KaxChapterProcessCommand::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(.text+0x15569): undefined reference to `libmatroska::KaxEditionFlagOrdered::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska24KaxChapterProcessPrivate7G enericEv[libmatroska::KaxChapterProcessPrivate::Ge neric() const]+0x1): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska24KaxChapterProcessPrivatecv RKN7libebml6EbmlIdEEv[libmatroska::KaxChapterProce ssPrivate::operator libebml::EbmlId const&() const]+0x1): undefined reference to `libmatroska::KaxChapterProcessPrivate::ClassInfos ' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska21KaxChapterProcessData7Gene ricEv[libmatroska::KaxChapterProcessData::Generic( ) const]+0x1): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska21KaxChapterProcessDatacvRKN 7libebml6EbmlIdEEv[libmatroska::KaxChapterProcessD ata::operator libebml::EbmlId const&() const]+0x1): undefined reference to `libmatroska::KaxChapterProcessData::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska16KaxSegmentFamily7GenericEv [libmatroska::KaxSegmentFamily::Generic() const]+0x1): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska16KaxSegmentFamilycvRKN7libe bml6EbmlIdEEv[libmatroska::KaxSegmentFamily::opera tor libebml::EbmlId const&() const]+0x1): undefined reference to `libmatroska::KaxSegmentFamily::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska21KaxChapterTranslateID7Gene ricEv[libmatroska::KaxChapterTranslateID::Generic( ) const]+0x1): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos' ./modules/demux/libmkv.a(libmkv_a-mkv.o):mkv.cpp:(. text$_ZNK11libmatroska21KaxChapterTranslateIDcvRKN 7libebml6EbmlIdEEv[libmatroska::KaxChapterTranslat eID::operator libebml::EbmlId const&() const]+0x1): undefined reference to `libmatroska::KaxChapterTranslateID::ClassInfos' /usr/win32/lib/libmatroska.a(KaxInfoData.o):KaxInfoData.cpp:(. text$_ZN7libebml11EbmlElementD2Ev[libebml::EbmlEle ment::~EbmlElement()]+0x30): undefined reference to `___assert' /usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text+0x26d): undefined reference to `___assert' /usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text+0x39f): undefined reference to `___assert' /usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(.text+0x4d1): undefined reference to `___assert' /usr/win32/lib/libmatroska.a(KaxCues.o):KaxCues.cpp:(. text$_ZNK11libmatroska7KaxCues19GlobalTimecodeScal eEv[libmatroska::KaxCues::GlobalTimecodeScale() const]+0x2c): undefined reference to `___assert' /usr/win32/lib/libmatroska.a(KaxCuesData.o):KaxCuesData.cpp:(.text+0x1d2): more undefined references to `___assert' follow ibebml12EbmlSIntegerE by linking to __imp___ZTVN7libebml12EbmlSIntegerE (auto-import) collect2: ld returned 1 exit status make[2]: *** [vlc.exe] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Non puoi compilarti gli rpm?
__________________
Tanenbaum is overrated.
Originally posted by Renaulto
Non puoi compilarti gli rpm?
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Scusate, ma IN GENERALE, per ricompilare delle librerie sotto Linux come si fa? Qual'è il procedimento da seguire?
Io ho scaricato i sorgenti, ho dato il "make" (che credo sia andato a buon fine) e mi ha creato un file.
Ma a questo punto non so come procedere...
Devo spostare quel file nella cartella delle librerie del programma?
E tutti gli header (*.h) ?
O__o
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Forse questa pagina può aiutarti: http://www.bo.cnr.it/corsi-di-infor...xLibraries.html
__________________
"Ragione e passione sono timone e vela della nostra anima navigante." - Kahlil Gibran
"Senza musica la vita sarebbe un errore." - Friedrich Nietzsche
Originally posted by Walter
Forse questa pagina può aiutarti: http://www.bo.cnr.it/corsi-di-infor...xLibraries.html

__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Dopo il make, consiglio un "make install" eseguito da utente root (questo comando installa i file appena compilati)
__________________
When once you have tasted flight, you will walk the earth, forever more, with your eyes turned skyward. For there you have been, and there you long to return.
“Dovere, tempo, destino, tutto tende a separarci e, di fatto, ci separa. Ma il sentimento non conosce frontiere e mi unisce a te come se avessi sempre la mia mano sulla tua"
e un bel ldconfig.
__________________
Questo è il giardino
Dove il principe muore
Nessun sentiero
Nessun destriero
Soltanto un nome... Eterno...
Originally posted by Viry
Dopo il make, consiglio un "make install" eseguito da utente root (questo comando installa i file appena compilati)
code:
make: *** No rule to make target 'install'. Stop.
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Originally posted by Viry
Dopo il make, consiglio un "make install" eseguito da utente root (questo comando installa i file appena compilati)
__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
Originally posted by DarkGod
Non posso divenatre root, il comando "su" per cambiare utente sembra non essere riconosciuto da Cygwin..
In ogni caso il make genera solo la libreria .a, ma nessn file "install".
Nemmeno "ldconfig" funziona.

__________________
(\ /)
( . .)
c('')('') This is Bunny!
Help her succeed in world domination by copy and pasting her in
your signature.
Originally posted by Alf
Il make install non e' un comando diverso da make.
make puo' avere un "target"
Se esiste il file Makefile all'interno ci sono tutte le "regole" che il make segue per compilare.
Di solito c'e' anche l'etichetta "install" che a seconda dei casi sposta i binari creati, crea link, insomma fa un po' di cose per "installare" quello che hai compilato.
Comunque puoi' personalizzarti il tuo "make" scrivendo quel che vuoi nel Makefile.
Ah spesso c'e' il file configure che prendendo i dati dal sistema ti crea un file Makefile ad hoc
Ma in realta' tutto questo, a parte "cultura" personale, non credo ti serva molto per risolvere il problema![]()


__________________
Chiamatemi Darky ^_^
_____ -+- ANTINOMY -+- __________ -+- Inside Human Cruelty -+- _____
| All times are GMT. The time now is 11:42. | Pages (2): [1] 2 » Show all 23 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.