Hi, Compiling glibmm fails as follows:
... g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -DG_DISABLE_DEPRECATED - I../../glib -I../../glib -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -no-cpp-precomp - DX_LOCALE -I/sw/include -g -O2 -pedantic -W -Wall -Wno-long-long -c convert.cc -fno-common -DPIC -o .libs/convert.o g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -DG_DISABLE_DEPRECATED - I../../glib -I../../glib -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -no-cpp-precomp - DX_LOCALE -I/sw/include -g -O2 -pedantic -W -Wall -Wno-long-long -c date.cc -fno-common -DPIC -o .libs/date.o date.cc: In member function 'void Glib::Date::set_time(GTime)': date.cc:75: error: 'g_date_set_time' was not declared in this scope make[5]: *** [date.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -DG_DISABLE_DEPRECATED - I../../glib -I../../glib -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/sw/include/sigc++-2.0 -I/sw/lib/sigc++-2.0/include -I/sw/ include/glib-2.0 -I/sw/lib/glib-2.0/include -no-cpp-precomp - DX_LOCALE -I/sw/include -g -O2 -pedantic -W -Wall -Wno-long-long -c convert.cc -o convert.o >/dev/null 2>&1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of make failed, exit code 2 Removing build lock... /sw/bin/dpkg-lockwait -r fink-buildlock-glibmm2.4-2.6.1-1001 (Reading database ... 61299 files and directories currently installed.) Removing fink-buildlock-glibmm2.4-2.6.1-1001 ... Failed: phase compiling: glibmm2.4-2.6.1-1001 failed A quick search revealed this in the glib docs: Warning g_date_set_time is deprecated and should not be used in newly-written code. Sets the value of a date from a GTime value. Deprecated:2.10: Use g_date_set_time_t() instead. hth, - Koen. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
