Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errore in emerge mythtv [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jun 12, 2007 2:04 pm    Post subject: errore in emerge mythtv [risolto] Reply with quote

Code:
g++ -Wl,-O1 -Wl,--as-needed -o mythcommflag main.o CommDetectorFactory.o CommDetectorBase.o Histogram.o ClassicLogoDetector.o ClassicSceneChangeDetector.o ClassicCommDetector.o quickselect.o CommDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector.o FrameAnalyzer.o TemplateFinder.o TemplateMatcher.o HistogramAnalyzer.o BlankFrameDetector.o SceneChangeDetector.o moc_SlotRelayer.o moc_CustomEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBase.o moc_ClassicCommDetector.o   -L/usr/qt/3/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -lasound -lraw1394 -liec61883 -lavc1394 -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lXrandr -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm -lpthread
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmythavutil-0.20.so.0, needed by ../../libs/libmythtv/libmythtv-0.20.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmythavformat-0.20.so.0, needed by ../../libs/libmythtv/libmythtv-0.20.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmythlivemedia-0.20.so.0, needed by ../../libs/libmythtv/libmythtv-0.20.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmythfreemheg-0.20.so.0, needed by ../../libs/libmythtv/libmythtv-0.20.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libmythui-0.20.so.0, needed by ../../libs/libmythtv/libmythtv-0.20.so, not found (try using -rpath or -rpath-link)
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_crc04C11DB7'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_realloc'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_log'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `ff_sqrt_tab'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_d2q'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_log_get_level'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_init_lls'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_crc8005'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_free'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_crc07'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_crc'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_malloc'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_div_q'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_evaluate_lls'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_solve_lls'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `ff_log2_tab'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_reduce'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_update_lls'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `ff_gcd'
../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to `av_crc_init'
collect2: ld returned 1 exit status
make[2]: *** [mythcommflag] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.20_p12325/work/mythtv-0.20/programs/mythcommflag'
make[1]: *** [sub-mythcommflag] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.20_p12325/work/mythtv-0.20/programs'
make: *** [sub-programs] Error 2

!!! ERROR: media-tv/mythtv-0.20_p12325 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mythtv-0.20_p12325.ebuild, line 206:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/media-tv:mythtv-0.20_p12325:20070612-104833.log'.


Non riesco a capire cosa crea il problema eppure i files di libreria ci sono.
Ho provato anche con CFLAGS meno aggressive ovviamente.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Thu Sep 06, 2007 1:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Tue Jun 12, 2007 2:40 pm    Post subject: Reply with quote

usi (mi pare di ricordare di sì) --as-needed nelle ldflags? Il problema potrebbe essere lì. Eventualmente controlla qui se uno dei pacchetti in causa è già stato segnalato o se c'è una soluzione.

Byez
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Jun 12, 2007 7:10 pm    Post subject: Reply with quote

No ho provato anche con LDFLAGS="" e CFLAGS="-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe" ovviamente.
L'errore è sempre lo stesso, non trova le librerie eppure sono andato a vedere in work e ci sono. Indipendentemente dalle flag di compilazione l'errore è sempre lo stesso.
Oltretutto mythtv lo ho già compilato con --as-need senza problemi.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Wed Jun 13, 2007 8:15 am    Post subject: Reply with quote

hai provato a compilare senza ldflags anche quelle librerie che non trova?
a volte l'errore è lì.
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Wed Jun 13, 2007 6:02 pm    Post subject: Reply with quote

Quelle librerie sono interne al pacchetto mythtv non sono già sul sistema. Altrimenti era facile, ricompilavo le dipendenze senza --as-need ed avevo risolto, come mi è già capitato per più di un pacchetto.

edit: problema di automake che si prendeva sempre --as-need; risolto con l'aiornamento di autotools.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum