abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
dnes 15:55 | Bezpečnostní upozornění

Společnost Oracle vydala čtvrtletní bezpečnostní aktualizaci svých softwarových produktů (CPU, Critical Patch Update). Opraveno je celkově 270 bezpečnostních chyb. V Oracle Java SE je například opraveno 17 bezpečnostních chyb. Vzdáleně zneužitelných bez autentizace je 16 z nich. V Oracle MySQL je opraveno 27 bezpečnostních chyb. Vzdáleně zneužitelných bez autentizace je 5 z nich.

Ladislav Hagara | Komentářů: 0
dnes 02:48 | Nová verze

Po půl roce od vydání verze 9.0 (zprávička) byla vydána verze 10.0 zvukového serveru PulseAudio. Přehled novinek v poznámkách k vydání.

Ladislav Hagara | Komentářů: 24
dnes 00:33 | Komunita Ladislav Hagara | Komentářů: 7
včera 17:30 | Zajímavý článek

Mozilla.cz informuje, že webový prohlížeč Firefox bude od verze 53 obsahovat integrovaný prohlížeč dat ve formátu JSON. Firefox kromě strukturovaného prohlížení nabídne také možnost filtrace a uložení na disk. Dle plánu by měl Firefox 53 vyjít 18. 4. 2017.

Ladislav Hagara | Komentářů: 1
včera 11:00 | Komunita

Členové a příznivci spolku OpenAlt se pravidelně schází v Praze a Brně. Fotky z pražských srazů za uplynulý rok si můžete prohlédnout na stránkách spolku. Příští sraz se koná už zítra 19. ledna – tentokrát je tématem ergonomie ovládání počítače – tzn. klávesnice, myši a další zařízení. Také budete mít příležitost si prohlédnout pražský hackerspace Brmlab.

xkucf03 | Komentářů: 1
17.1. 21:55 | Komunita

Nadace pro svobodný software (FSF) oznámila aktualizaci seznamu prioritních oblastí (changelog), na které by se měli vývojáři a příznivci svobodného softwaru zaměřit. Jsou to například svobodný operační systém pro chytré telefony, hlasová a video komunikace nebo softwarový inteligentní osobní asistent.

Ladislav Hagara | Komentářů: 19
17.1. 16:44 | Nová verze

Byla vydána verze 2.0.0 knihovny pro vykreslování grafů v programovacím jazyce Python Matplotlib (Wikipedie, GitHub). Přehled novinek a galerie grafů na stránkách projektu.

Ladislav Hagara | Komentářů: 0
17.1. 15:33 | Komunita

V australském Hobartu probíhá tento týden konference linux.conf.au 2017. Na programu je celá řada zajímavých přednášek. Sledovat je lze online.

Ladislav Hagara | Komentářů: 0
17.1. 10:20 | Zajímavý článek

Pavel Tišnovský se v dvoudílném článku na MojeFedora.cz věnuje bitmapovým (rastrovým) grafickým editorům ve Fedoře. V prvním dílu se věnuje editorům MyPaint, MtPaint, Pinta, XPaint, Krita a GIMP. V pokračování pak editorům GNU Paint (gpaint), GrafX2, KolourPaint, KIconEdit a Tux Paint.

Ladislav Hagara | Komentářů: 1
16.1. 17:11 | Komunita

Byl proveden bezpečnostní audit svobodného IMAP a POP3 serveru Dovecot (Wikipedie). Audit byl zaplacen z programu Mozilla Secure Open Source a provedla jej společnost Cure53. Společnost Cure53 byla velice spokojena s kvalitou zdrojových kódu. V závěrečné zprávě (pdf) jsou zmíněny pouze 3 drobné a v upstreamu již opravené bezpečnostní chyby.

Ladislav Hagara | Komentářů: 0
Jak se stavíte k trendu ztenčování přenosných zařízení (smartphony, notebooky)?
 (10%)
 (2%)
 (74%)
 (3%)
 (11%)
Celkem 325 hlasů
 Komentářů: 24, poslední 17.1. 10:14
    Rozcestník
    Reklama
    Štítky: není přiřazen žádný štítek

    Dotaz: Jak kompilovat

    Ratoncito avatar 12.6.2009 19:46 Ratoncito | skóre: 19 | blog: Foso
    Jak kompilovat
    Přečteno: 969×
    Dobrý den
    Chtěl bych si něco zkompilovat, ale nějak se mi to nedaří, prošel jsem už několik návodů, ale podle žádného se mi to nepovedlo (jsem asi idiot).
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!

    Odpovědi

    12.6.2009 20:07 cronin | skóre: 48
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Skus zacat tu.
    12.6.2009 20:31 #Tom | skóre: 32 | blog: Inspirace, aneb co jsem kde vyhrabal
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Kompilace hotového programu ze zdrojových textů se provádí zpravidla toutu trojkombinací:
    ./configure && make && make install
    
    Pokud se vše podaří, výsledek se objeví obvykle v adresářové struktuře /usr/local. Odinstalování se provádí příkazem:
    make uninstall
    
    Úplně první příkaz ./configure spustí příslušný skript (pokud není přítomen, je třeba si přečíst přiložený návod), který vytvoří skript Makefile pro program make, který poté spouští jednotlivé kompilační příkazy, často volání překladače gcc jazyka C. Aby se překlad podařil, je třeba kromě uvedených programů gcc a make mít binutils (obsahuje linker – spojovací program, který přeložené částí kódu spojí ve spustitelný program) a vývojové balíčky (či přeložené zdrojové kódy) všech knihoven a programů, na kterých překládaná knihovna či program závisí.

    Překladu programů ze zdrojových textů se věnuje např. Linux From Scratch.
    13.6.2009 16:20 trekker.dk | skóre: 71
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Kompilace hotového programu ze zdrojových textů se provádí zpravidla toutu trojkombinací:
    ./configure && make && make install
    Před spuštěním ./configure je vhodné spustit nejprve ./configure --help | less. To zobrazí možnosti konfigurace tohoto skriptu. Mezi jinými typicky bývá možné změnit výchozí umístění, kam se instaluje program. Což je vhodné, pokud distribuce používá nějaký balíčkovací systém, aby nevznikal nepořádek.
    Odinstalování se provádí příkazem:
    make uninstall
    Jenom malé upozornění: ne všechny programy (resp. jejich zdrojové kódy) generují v Makefile pravidla pro make uninstall. Další důvod pro změnu umístění programu, jak je uvedeno výše.
    Quando omni flunkus moritati
    13.6.2009 19:12 #Tom | skóre: 32 | blog: Inspirace, aneb co jsem kde vyhrabal
    Rozbalit Rozbalit vše Re: Jak kompilovat
    To jsou dobré připomínky. Při psaní příspěvku jsem si nekladl za cíl zacházet do detailů. :-)
    Prcek avatar 12.6.2009 20:35 Prcek | skóre: 43 | Jindřichův Hradec / Brno
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Navrhuji buď přečíst další návody (třeba tady na ABClinuxu, Seriál: Nebojíme se kompilace), nebo napsat co konkrétně nejde zkompilovat, co to vypisuje atd...
    Člověk je takový, jak vypadá... A já vypadám jako pravá, nefalšovaná děvka!!!
    Ratoncito avatar 12.6.2009 23:08 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Návodů jsem četl hodně (tento taky), podle 1. příspěvku jsem zkusil víc experimentovat a zkončil jsem s:
    [tom@myhost clanbomber2-0.9.1]$ make
    make: *** No targets specified and no makefile found.  Stop.
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    Prcek avatar 12.6.2009 23:33 Prcek | skóre: 43 | Jindřichův Hradec / Brno
    Rozbalit Rozbalit vše Re: Jak kompilovat
    A pustil jsi nejdřív ./configure? Nevyhodilo to nějakou chybu? Ta hláška znamená, že v tom adresáři se zdrojáky, odkud pouštíš tu kompilaci, není soubor Makefile. Ten se vytváří pomocí toho příkazu ./configure. Jestli chybí v systému nějaká závislost, tak ./configure skončilo s chybou a Makefile se nevytvořil.
    Člověk je takový, jak vypadá... A já vypadám jako pravá, nefalšovaná děvka!!!
    Ratoncito avatar 12.6.2009 23:48 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    2 chyby jsem napravil, ale pak vypsal toto:
    checking for FusionSound... configure: error:
    *** FusionSound 1.0.0 or newer is required. The latest
    *** version of FusionSound is always available from http://www.directfb.org.
    
    a to se mi napravit nepovedlo.
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    otula avatar 13.6.2009 00:15 otula | skóre: 44 | blog: otakar | Adamov
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Evidentně ti chybí FusionSound. Bez něj to nezkompiluješ. Pokud máš problém ho nainstalovat, inspiruj se například u Archu - to by ti mohlo pomoct.
    Kdo vám tvrdí, že jste paranoidní, ten v tom spiknutí s největší pravděpodobností jede taky.
    Ratoncito avatar 13.6.2009 16:56 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    A co s tím mám dělat?
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    Ratoncito avatar 13.6.2009 17:05 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Zkusil jsem ho skompilovat, configure proběhl úspěšně, ale make hlásí toto:
    fusionsound.c:120: error: conflicting types for 'FusionSoundCreate'
    ../include/fusionsound.h:101: note: previous declaration of 'FusionSoundCreate' was here
    fusionsound.c:164: error: conflicting types for 'FusionSoundError'
    ../include/fusionsound.h:109: note: previous declaration of 'FusionSoundError' was here
    fusionsound.c:175: error: conflicting types for 'FusionSoundErrorFatal'
    ../include/fusionsound.h:117: note: previous declaration of 'FusionSoundErrorFatal' was here
    fusionsound.c:183: error: conflicting types for 'FusionSoundErrorString'
    ../include/fusionsound.h:125: note: previous declaration of 'FusionSoundErrorString' was here
    make[3]: *** [fusionsound.lo] Error 1
    make[3]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1'
    make: *** [all] Error 2
    
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 13.6.2009 17:44 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    Sprav tieto upravy v subore FusionSound-1.1.1/src/fusionsound.c :

    riadok 119 zmen z DirectResult na DFBResult

     

    riadky 164 165 zmen

    z:

    DirectResult
    FusionSoundError( const char *msg, DirectResult error )

    na:
    DFBResult
    FusionSoundError( const char *msg, DFBResult error )

     

    radok 178 zmen

    z:

    FusionSoundErrorFatal( const char *msg, DirectResult error )

    na:

    FusionSoundErrorFatal( const char *msg, DFBResult error )

     

    riadok 187 zmen

    z:

    FusionSoundErrorString( DirectResult error )

    na:
    FusionSoundErrorString( DFBResult error )

     

    tu je pre istotu patch:

     

    119c119
    < DirectResult
    ---
    > DFBResult
    163,164c163,164
    < DirectResult
    < FusionSoundError( const char *msg, DirectResult error )
    ---
    > DFBResult
    > FusionSoundError( const char *msg, DFBResult error )
    175c175
    < FusionSoundErrorFatal( const char *msg, DirectResult error )
    ---
    > FusionSoundErrorFatal( const char *msg, DFBResult error )
    183c183
    < FusionSoundErrorString( DirectResult error )
    ---
    > FusionSoundErrorString( DFBResult error )
     

    Ratoncito avatar 13.6.2009 18:10 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Teď píše toto:
    ifusionsoundmusicprovider_ffmpeg.c:44:21: error: avcodec.h: No such file or directory
    ifusionsoundmusicprovider_ffmpeg.c:45:22: error: avformat.h: No such file or directory
    ifusionsoundmusicprovider_ffmpeg.c:67: error: expected specifier-qualifier-list before 'ByteIOContext'
    ifusionsoundmusicprovider_ffmpeg.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'av_seek_callback'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'FFmpeg_Stop':
    ifusionsoundmusicprovider_ffmpeg.c:364: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:367: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:368: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:370: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:371: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:375: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:376: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:377: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:380: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:381: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:385: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:386: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:386: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:387: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:391: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:392: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:392: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:393: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:397: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:398: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:399: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_Destruct':
    ifusionsoundmusicprovider_ffmpeg.c:410: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:411: error: implicit declaration of function 'avcodec_close'
    ifusionsoundmusicprovider_ffmpeg.c:411: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:413: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:414: error: 'AVInputFormat' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:414: error: (Each undeclared identifier is reported only once
    ifusionsoundmusicprovider_ffmpeg.c:414: error: for each function it appears in.)
    ifusionsoundmusicprovider_ffmpeg.c:414: error: 'iformat' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:414: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:416: error: 'AVFMT_NOFILE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:418: error: implicit declaration of function 'av_close_input_file'
    ifusionsoundmusicprovider_ffmpeg.c:418: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:422: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:426: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'iobuf'
    ifusionsoundmusicprovider_ffmpeg.c:427: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'iobuf'
    ifusionsoundmusicprovider_ffmpeg.c:432: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:433: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetTrackDescription':
    ifusionsoundmusicprovider_ffmpeg.c:484: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:485: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:486: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:487: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:488: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:489: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:490: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetStreamDescription':
    ifusionsoundmusicprovider_ffmpeg.c:507: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:508: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:508: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetBufferDescription':
    ifusionsoundmusicprovider_ffmpeg.c:526: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:527: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:527: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:529: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:530: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:530: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:532: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:532: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:532: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'FFmpegStreamThread':
    ifusionsoundmusicprovider_ffmpeg.c:542: error: 'AVPacket' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:542: error: expected ';' before 'pkt'
    ifusionsoundmusicprovider_ffmpeg.c:545: error: 'AV_NOPTS_VALUE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:547: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:550: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:552: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:553: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:557: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'seeked'
    ifusionsoundmusicprovider_ffmpeg.c:558: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:558: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:560: error: implicit declaration of function 'av_free_packet'
    ifusionsoundmusicprovider_ffmpeg.c:560: error: 'pkt' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:563: error: implicit declaration of function 'avcodec_flush_buffers'
    ifusionsoundmusicprovider_ffmpeg.c:563: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:564: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'seeked'
    ifusionsoundmusicprovider_ffmpeg.c:568: error: implicit declaration of function 'av_read_frame'
    ifusionsoundmusicprovider_ffmpeg.c:568: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:570: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'flags'
    ifusionsoundmusicprovider_ffmpeg.c:571: error: implicit declaration of function 'av_seek_frame'
    ifusionsoundmusicprovider_ffmpeg.c:571: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:572: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:573: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:574: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:577: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:581: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:583: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:591: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:592: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:593: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:593: error: implicit declaration of function 'av_rescale_q'
    ifusionsoundmusicprovider_ffmpeg.c:593: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:593: error: 'AV_TIME_BASE_Q' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:597: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:598: error: implicit declaration of function 'avcodec_decode_audio2'
    ifusionsoundmusicprovider_ffmpeg.c:598: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:599: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:611: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:612: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:612: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:612: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:616: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:618: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:619: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:619: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:620: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:620: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:622: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:627: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:628: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:628: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:630: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:630: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:633: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:637: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:637: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:637: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_PlayToStream':
    ifusionsoundmusicprovider_ffmpeg.c:658: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:664: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:699: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:703: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:704: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:704: error: 'AVSEEK_FLAG_BACKWARD' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:705: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:708: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:711: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:712: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:712: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:713: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:714: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:720: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:721: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:722: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:723: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:725: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:726: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:729: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:731: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'FFmpegBufferThread':
    ifusionsoundmusicprovider_ffmpeg.c:741: error: 'AVPacket' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:741: error: expected ';' before 'pkt'
    ifusionsoundmusicprovider_ffmpeg.c:744: error: 'AV_NOPTS_VALUE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:747: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:751: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:753: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:754: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:758: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'seeked'
    ifusionsoundmusicprovider_ffmpeg.c:760: error: 'pkt' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:763: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:764: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'seeked'
    ifusionsoundmusicprovider_ffmpeg.c:768: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:770: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'flags'
    ifusionsoundmusicprovider_ffmpeg.c:771: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:773: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:774: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:775: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback'
    ifusionsoundmusicprovider_ffmpeg.c:776: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback'
    ifusionsoundmusicprovider_ffmpeg.c:776: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback_data'
    ifusionsoundmusicprovider_ffmpeg.c:777: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:779: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:782: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:786: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:788: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:796: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:797: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:798: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:798: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:798: error: 'AV_TIME_BASE_Q' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:802: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:803: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:804: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:816: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:817: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:817: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:817: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:821: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:826: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:826: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:828: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:832: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:833: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:833: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:835: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:840: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:840: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:843: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback'
    ifusionsoundmusicprovider_ffmpeg.c:844: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback'
    ifusionsoundmusicprovider_ffmpeg.c:844: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback_data'
    ifusionsoundmusicprovider_ffmpeg.c:845: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:846: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:854: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_PlayToBuffer':
    ifusionsoundmusicprovider_ffmpeg.c:876: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:882: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:917: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:921: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:922: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:922: error: 'AVSEEK_FLAG_BACKWARD' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:923: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:926: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:929: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:930: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:930: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:931: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'buf'
    ifusionsoundmusicprovider_ffmpeg.c:932: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:938: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:939: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:940: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:941: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:943: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback'
    ifusionsoundmusicprovider_ffmpeg.c:944: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'callback_data'
    ifusionsoundmusicprovider_ffmpeg.c:946: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:947: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:950: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'thread'
    ifusionsoundmusicprovider_ffmpeg.c:952: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_Stop':
    ifusionsoundmusicprovider_ffmpeg.c:962: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:966: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:968: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetStatus':
    ifusionsoundmusicprovider_ffmpeg.c:982: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_SeekTo':
    ifusionsoundmusicprovider_ffmpeg.c:1002: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1003: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1003: error: 'AV_NOPTS_VALUE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1003: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1006: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1008: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1009: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:1009: error: 'AVSEEK_FLAG_BACKWARD' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1010: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'seeked'
    ifusionsoundmusicprovider_ffmpeg.c:1011: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'finished'
    ifusionsoundmusicprovider_ffmpeg.c:1012: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:1019: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetPos':
    ifusionsoundmusicprovider_ffmpeg.c:1035: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pts'
    ifusionsoundmusicprovider_ffmpeg.c:1036: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:1038: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:1038: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'dest'
    ifusionsoundmusicprovider_ffmpeg.c:1043: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_GetLength':
    ifusionsoundmusicprovider_ffmpeg.c:1057: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1058: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1058: error: 'AV_TIME_BASE' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_SetPlaybackFlags':
    ifusionsoundmusicprovider_ffmpeg.c:1076: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'flags'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'IFusionSoundMusicProvider_FFmpeg_WaitStatus':
    ifusionsoundmusicprovider_ffmpeg.c:1100: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1109: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:1110: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:1110: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1111: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1117: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1119: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:1120: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:1120: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1123: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'Probe':
    ifusionsoundmusicprovider_ffmpeg.c:1133: error: 'AVProbeData' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1133: error: expected ';' before 'pd'
    ifusionsoundmusicprovider_ffmpeg.c:1134: error: 'AVInputFormat' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1134: error: 'format' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1136: error: implicit declaration of function 'av_register_all'
    ifusionsoundmusicprovider_ffmpeg.c:1138: error: 'pd' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1142: error: implicit declaration of function 'av_probe_input_format'
    ifusionsoundmusicprovider_ffmpeg.c: In function 'Construct':
    ifusionsoundmusicprovider_ffmpeg.c:1160: error: 'AVProbeData' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1160: error: expected ';' before 'pd'
    ifusionsoundmusicprovider_ffmpeg.c:1161: error: 'AVInputFormat' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1161: error: 'fmt' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1162: error: 'AVCodec' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1162: error: 'c' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1170: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'status'
    ifusionsoundmusicprovider_ffmpeg.c:1174: error: 'pd' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1184: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'iobuf'
    ifusionsoundmusicprovider_ffmpeg.c:1185: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'iobuf'
    ifusionsoundmusicprovider_ffmpeg.c:1190: error: implicit declaration of function 'init_put_byte'
    ifusionsoundmusicprovider_ffmpeg.c:1190: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pb'
    ifusionsoundmusicprovider_ffmpeg.c:1190: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'iobuf'
    ifusionsoundmusicprovider_ffmpeg.c:1192: error: 'av_seek_callback' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1198: error: implicit declaration of function 'av_open_input_stream'
    ifusionsoundmusicprovider_ffmpeg.c:1198: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1198: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'pb'
    ifusionsoundmusicprovider_ffmpeg.c:1204: error: implicit declaration of function 'av_find_stream_info'
    ifusionsoundmusicprovider_ffmpeg.c:1204: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1210: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1211: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1211: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
    ifusionsoundmusicprovider_ffmpeg.c:1212: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:1212: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:1212: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1213: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:1213: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'ctx'
    ifusionsoundmusicprovider_ffmpeg.c:1217: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:1223: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:1223: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'st'
    ifusionsoundmusicprovider_ffmpeg.c:1224: error: implicit declaration of function 'avcodec_find_decoder'
    ifusionsoundmusicprovider_ffmpeg.c:1224: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:1225: error: implicit declaration of function 'avcodec_open'
    ifusionsoundmusicprovider_ffmpeg.c:1225: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'codec'
    ifusionsoundmusicprovider_ffmpeg.c:1231: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'lock'
    ifusionsoundmusicprovider_ffmpeg.c:1232: error: 'IFusionSoundMusicProvider_FFmpeg_data' has no member named 'cond'
    ifusionsoundmusicprovider_ffmpeg.c:1235: warning: assignment from incompatible pointer type
    ifusionsoundmusicprovider_ffmpeg.c:1236: warning: assignment from incompatible pointer type
    make[3]: *** [libifusionsoundmusicprovider_ffmpeg_la-ifusionsoundmusicprovider_ffmpeg.lo] Error 1
    make[3]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1/interfaces/IFusionSoundMusicProvider'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1/interfaces'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/sklad/Download/FusionSound-1/FusionSound-1.1.1'
    make: *** [all] Error 2
    
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 13.6.2009 18:25 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    Znamena to, ze nemas/neboli_najdene hlavikove subory ffmpeg,

    co je fakt cudne, lebo FusionSound ma automaticku detekciu ffmpeg

    a ak nenajde hlavickove subory ffmpeg, tak sa bude kniznica kompilovat

    bez podpory ffmpeg.

     

    Skus spustit ./configure s parametrom --without-ffmpeg

     

    V pripade, ze ti to nepojde napis sem "options", ktore sa vypisu po configure,

    ma na mysli to:

    Build options:
    Misc options:
    Building Drivers:
    Building Music Providers:
     

    oroborus avatar 13.6.2009 18:43 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    Nasiel som sposob, ako to skompilovat s podporou ffmpeg:

    ked sa kompiloval ifusionsoundmusicprovider_ffmpeg.c preprocesor nevedel kde ma hladat subory

    avcodec.h a avformat.h

    pre configure treba dat:

     

    export CFLAGS="-I/usr/local/ffmpeg-0.5/include/libavcodec/ -I/usr/local/ffmpeg-0.5/include/libavformat/"

    ./configure

     

    Adresare /usr/local/ffmpeg-0.5/include/libavcodec/ a /usr/local/ffmpeg-0.5/include/libavformat/

    su miesta, kde sa tieto subory nachadzaju (musite si doplnit vlastne) tieto su v mojom pripade

     

    potom to bude pri kompilacii hadzat chybu:

    ifusionsoundmusicprovider_ffmpeg.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'av_seek_callback'

     

    V subore ifusionsoundmusicprovider_ffmpeg.c na riadkoch 126 a 127 treba zmenit

    z:

    static offset_t
    av_seek_callback( void *opaque, offset_t offset, int whence )

     

    na:

    static int
    av_seek_callback( void *opaque, int offset, int whence )

     

    (ja viem, spinavy trik)

    Ratoncito avatar 13.6.2009 21:18 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Počkat, on hledá balíček ffmpeg-dev né? A -dev potřebuje od všeho né? A to já nemám. Nebo je nepotřebuje?
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 13.6.2009 22:05 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    V podstate -dev balicky nehlada, ale iba subory, ktore vzniknu po ich nainstalovani.

    Ak sa hlavickove subory ffmpeg (ktore su v ffmpeg*-dev balicku) nenajdu,

    knizica FusionSound sa skompiluje bez podpory ffmpeg.

    IMHO v programe clanbomber sa tato vlastnost ani nepotrebuje.

    Ratoncito avatar 13.6.2009 22:21 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Jo já vím že nehledá balíčky, ale já mám nainstallované asi 4 -dev balíčky a pokud se nemýlím tak je potřebuje od všech závislostí, nebo ne?
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 13.6.2009 22:33 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    Kniznica FusionSound sa da skompilovat/nainstalovat aj ked nebudes mat ffmpeg kniznicu (ani dev)

     

    na kompilaciu clanbomber2-0.9.1 potrebujes zavyslosti od  :

    * libc/libstdc++ kniznice

    * DirectFB kniznice

    * FusionSound

     

    FusionSound potrebuje :

    * libc kniznice

    * DirectFB kniznice

    * ine, ako kniznice pre OSS, Alsa, vorbisfile, ine (z tochto pohladu nezaujmave)

    * FFmpeg (moze/nemusi byt da sa skompilovat/nainstalovat aj ked nebudes mat ffmpeg kniznicu )

    Ratoncito avatar 14.6.2009 11:33 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    * DirectFB kniznice je directfb-dev?
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 14.6.2009 13:41 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    Ano. Ak je kniznica libA  zavysla od knizice libB, tak k jej behu porebuje iba

    skompilovanu binarku kniznice libB. Ale ked cheme kompilovat kniznicu,

    libA, potrebujeme, aj hlavickove subory (dev balicek) kniznice libB.

     

    A napokon, myslim, ze vacina balickovacich systemov, funguje tak, ze

    kazdy balicek libX-dev ma ako zavyslost libX, takze hlavickove subory

    bez danej kniznice ani nemozme mat. (rozumej, v korektne nainstalovanom

    systeme)

     

    Ratoncito avatar 14.6.2009 15:09 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Takže já potřebuji -dev repoozitář, protože v těch co mám libB-dev není.
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 14.6.2009 15:24 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    citujem sam seba:

     

     

    Ano. Ak je kniznica libA  zavysla od knizice libB, tak k jej behu porebuje iba

    skompilovanu binarku kniznice libB. Ale ked cheme kompilovat kniznicu,

    libA, potrebujeme, aj hlavickove subory (dev balicek) kniznice libB.

     

    To s tymi kniznicami "libA" a "libB" som to myslel vseubecne.

     Napokopn clanbomber, DirectFB a ani FusionSound

    nie je zavysli od "libA" ani "libB" (to by ich musel configure script vypisat)

     

    Domysli si:

    libA -> FusionSound

    libB -> DirectFB

     

    (uznavam, ze pri skutocnej existencii libc to moze byt metuce :) )

    Ratoncito avatar 14.6.2009 16:32 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Ano já vím že všeobecně, ale mě jde o to že nemám directfb-dev a configure nic nehlásí.
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 14.6.2009 16:42 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Příloha:

    Pisal si tu, ze nastaly chyby pri kompilacii FusionSound, takze configure script

    FusionSound musel skoncit uspesne, daj do prilohy komentara cele vypisy z

    configure FusionSound ( to "check for..." )

     

    (v podstate chcem od teba, taky vypis, aky davam teraz do prilohy komentaru ja)

    Ratoncito avatar 14.6.2009 18:42 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Příloha:
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    oroborus avatar 14.6.2009 18:55 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat
    citujem tvoj vypis:
    checking for libdirect... found (moduledir = ${exec_prefix}/lib/directfb-1.2-0)  
    spust prikaz:
    make
    

    v pripade chyb pri kompilacii postupuj takto:

    http://www.abclinuxu.cz/poradna/linux/show/268423#18

    oroborus avatar 12.6.2009 23:48 oroborus | skóre: 20 | blog: Bulanci
    Rozbalit Rozbalit vše Re: Jak kompilovat

    v tvojom pripade skoncil ./configure chybou a nevytovril sa Makefile,

    takze ho prikaz make nenasiel

     

    takze:

     

    stahnem subor: clanbomber2-0.9.1.tar.gz

    rozbalim a v adresary clanbomber2-0.9.1 spustim:

    ./configure --prefix=/usr/local/clanbomber2-0.9.1

    program vyzaduje standardne libc kniznice directFB a FusionSound

    (musia byt nainsatlovane aj -dev balicky tych kniznic )

     

    prikaz ./configure musi koncit riadkom:

    config.status: executing depfiles commands

     

    do suboru clanbomber2-0.9.1/clanbomber/Resources.h pridam

    pod tie include riadok #include <linux/types.h> lebo mi hadze chyby pri tych __u8

     

    dam:

    make

     

    pockam ...

     

    potom:

    su

    make install

     

    a program je nainstalovany

    Ratoncito avatar 13.6.2009 00:04 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Problém, já tam nemám -dev balíčky skoro od ničeho.
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    13.6.2009 11:00 #Tom | skóre: 32 | blog: Inspirace, aneb co jsem kde vyhrabal
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Tak to bude potřeba je nainstalovat. :-)
    Ratoncito avatar 13.6.2009 12:38 Ratoncito | skóre: 19 | blog: Foso
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Ale od kud (mylel jsem v repozitářích)?
    OS: ArchLinux, WM: Compiz-fusion | Na toho vemte bič a hůl, to není člověk, to je vůl!!!
    13.6.2009 15:03 #Tom | skóre: 32 | blog: Inspirace, aneb co jsem kde vyhrabal
    Rozbalit Rozbalit vše Re: Jak kompilovat
    Ze sítě jsem instaloval pouze Debian, takže s Archem neporadím.

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.