#261 svn4212 SVGGen osmozilla and Osmo4_wx build fix

closed
nobody
None
5
2012-10-30
2012-10-30
marguerite
No

Hi,

it's me again. I fixed the previous bug sf#3574796 on my system by adding #define USE_FFDEV_16 to include/gpac/internal/smjs_api.h

this time I want to submit two patches fixing applications/generators/SVG/, applications/osmozilla and applications/Osmo4_wx.

there still linker problems with enable_V4Studio.patch:

~$: make -C applications/osmo4_wx
make: 进入目录“/home/marguerite/gpac-0.5.0.svn4212/applications/osmo4_wx”
wxOsmo4.o: In function `wxOsmo4Frame::OnStreamSel(wxCommandEvent&)':
wxOsmo4.cpp:(.text+0xcd39): undefined reference to `gf_term_select_object'
wxOsmo4.o: In function `wxOsmo4Frame::OnFileCopy(wxCommandEvent&)':
wxOsmo4.cpp:(.text+0xdd71): undefined reference to `gf_term_get_text_selection'
wxOsmo4.o: In function `wxOsmo4Frame::OnUpdateFileCopy(wxUpdateUIEvent&)':
wxOsmo4.cpp:(.text+0xde84): undefined reference to `gf_term_get_text_selection'
wxOsmo4.o: In function `wxOsmo4Frame::OnFilePaste(wxCommandEvent&)':
wxOsmo4.cpp:(.text+0xdfd1): undefined reference to `gf_term_paste_text'
wxOsmo4.o: In function `wxOsmo4Frame::OnUpdateFilePaste(wxUpdateUIEvent&)':
wxOsmo4.cpp:(.text+0xe0f3): undefined reference to `gf_term_paste_text'
Playlist.o: In function `wxPlaylist::OnRandomize(wxCommandEvent&)':
Playlist.cpp:(.text+0x4884): undefined reference to `gf_rand_init'
Playlist.cpp:(.text+0x488b): undefined reference to `gf_rand'
collect2: error: ld returned 1 exit status
make: *** [Osmo4] error 1

but it's not my problem...because -lgac here doesn't work. those functions are in include/gpac/{terminal.h,term_info.h,tools.h} and in bin/gcc/libgpac.so.2.0.0 but can't be linked by ld.

so please take a look at this error. once it's fixed, we can build gpac fully without any errors.

Greetings,

Marguerite

Discussion

  • Romain Bouqueau

    Romain Bouqueau - 2012-10-30

    Hi Marguerite,

    We're aware of that. You shouldn't try to compile the applications that are not available from the makefiles. They stayed on the repo for legacy only.

    Thanks,

    Romain

     
  • Romain Bouqueau

    Romain Bouqueau - 2012-10-30
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks