On Fri, May 10, 2013 at 12:48 AM, Michael Hartje
<[email protected]>wrote:

> dear list,
>
> I like to ask for assistance compiling freedv on an arm cubieboard (ARM7
> with NEON)
>

Great! I'm actually (pleasantly) surprised you got that far with ARM.


> The last statement at the end of long compiling tour is:
>
> Linking CXX executable freedv
> cd /home/cubie/devel/fdmdv2-0.0.1235/Build/src && /usr/bin/cmake -E
> cmake_link_script CMakeFiles/freedv.dir/link.txt --verbose=1
> /usr/bin/c++    -Wall -pthread
> CMakeFiles/freedv.dir/fdmdv2_main.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_pa_wrapper.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_plot.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_plot_scalar.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_plot_scatter.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_plot_spectrum.cpp.o
> CMakeFiles/freedv.dir/fdmdv2_plot_waterfall_linux.cpp.o
> CMakeFiles/freedv.dir/dlg_about.cpp.o
> CMakeFiles/freedv.dir/dlg_audiooptions.cpp.o
> CMakeFiles/freedv.dir/dlg_comports.cpp.o
> CMakeFiles/freedv.dir/dlg_filter.cpp.o
> CMakeFiles/freedv.dir/sox_biquad.c.o
> CMakeFiles/freedv.dir/topFrame.cpp.o CMakeFiles/freedv.dir/varicode.c.o
> -o freedv -rdynamic -lportaudio -lsamplerate -lsndfile -lsox
> ../usr/lib/libcodec2.a ../lib/libctb-0.16.a -L../usr/lib -pthread
> -lwx_gtk2u-2.9 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0
> -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0
> -lfreetype -lfontconfig -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
> -lX11 -lSM -lpng -lz -ljpeg -ltiff -lwxregexu-2.9 -lz -ldl -lm -ljpeg
> -ltiff -lwxregexu-2.9 -ldl -lm
> ../usr/lib/libwx_gtk2u-2.9.a(monolib_displayx11.o): In function
> `wxDisplayImplX11::GetCurrentMode() const':
> displayx11.cpp:(.text+0x1a): undefined reference to
> `XF86VidModeGetModeLine'
> ../usr/lib/libwx_gtk2u-2.9.a(monolib_displayx11.o): In function
> `wxDisplayImplX11::GetModes(wxVideoMode const&) const':
> displayx11.cpp:(.text+0x44a): undefined reference to
> `XF86VidModeGetAllModeLines'
> ../usr/lib/libwx_gtk2u-2.9.a(monolib_displayx11.o): In function
> `wxDisplayImplX11::ChangeMode(wxVideoMode const&)':
> displayx11.cpp:(.text+0x834): undefined reference to
> `XF86VidModeGetAllModeLines'
> displayx11.cpp:(.text+0x904): undefined reference to
> `XF86VidModeSwitchToMode'
> displayx11.cpp:(.text+0xa50): undefined reference to
> `XF86VidModeSwitchToMode'
> collect2: Fehler: ld gab 1 als Ende-Status zurück
> make[3]: *** [src/freedv] Fehler 1
> make[3]: Verlasse Verzeichnis '/home/cubie/devel/fdmdv2-0.0.1235/Build'
> make[2]: *** [src/CMakeFiles/freedv.dir/all] Fehler 2
> make[2]: Verlasse Verzeichnis '/home/cubie/devel/fdmdv2-0.0.1235/Build'
> make[1]: *** [all] Fehler 2
> make[1]: Verlasse Verzeichnis '/home/cubie/devel/fdmdv2-0.0.1235/Build'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [binary] Fehler 2
> dpkg-buildpackage: Fehler: Fehler-Exitstatus von fakeroot debian/rules
> binary war 2
> debuild: fatal error at line 1357:
> dpkg-buildpackage -rfakeroot -D -us -uc failed
>
> It seems to me: some x11-libraries-dev are missing. The System is a
> cubie ubuntu.


Freedv doesn't directly link against X11 libraries. Where did you get your
wxWidgets (wxGTK) install? I checked the dependencies on Fedora Linux and
there's no direct lib dependency on any X11 libraries so it must be coming
through wxWidgets, which your error message above seems to suggest.

Thanks,
Richard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to