Re: [Ekiga-list] Can't compile 3.2.6 on opensuse 11.0



Bernd Knueller-Mewes wrote:
> Hello.
> opal and ptlib compiles o.k. but on ekiga following errormessage I can see:
> 
> w -MT codecsbox.lo -MD -MP -MF .deps/codecsbox.Tpo -c -o codecsbox.lo `test
> -f '../../lib/gui/codecsbox.cpp' || echo './'`../../lib/gui/codecsbox.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gmconf
> -I../../lib -I../../lib/engine/framework -I../../lib/engine/protocol -I../..
> -I../.. -I../../lib/pixops -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1
> -fno-exceptions -I/usr/include/opal -I/usr/include/SDL -DPTRACING=1
> -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -g -O2 -Wall -Wextra
> -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal
> -Wshadow -MT codecsbox.lo -MD -MP -MF .deps/codecsbox.Tpo -c
> ../../lib/gui/codecsbox.cpp  -fPIC -DPIC -o .libs/codecsbox.o
> ../../lib/gui/codecsbox.cpp: In function ‘void codec_moved_cb(GtkWidget*,
> void*)’:
> ../../lib/gui/codecsbox.cpp:258: error: ‘strcmp’ was not declared in this
> scope
> make[5]: *** [codecsbox.lo] Fehler 1
> make[5]: Leaving directory `/home/udo/Download/ekiga-3.2.6/lib/gui'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory `/home/udo/Download/ekiga-3.2.6/lib/gui'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/home/udo/Download/ekiga-3.2.6/lib'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory `/home/udo/Download/ekiga-3.2.6/lib'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/udo/Download/ekiga-3.2.6'
> make: *** [all] Fehler 2
> 
> I using opensuse 11.0 in a i586
> gcc version 4.3.1
> what is missing?

Add #include <cstring> in lib/gui/codecsbox.cpp, after the other
$include-s.  Recompile and tell us if it works.

-- 
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]