From: SeokYeon Hwang Date: Tue, 21 May 2013 05:40:10 +0000 (+0900) Subject: Fix linking error on Ubuntu 13.04 X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~976 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe66862a92f712d0ee7cc1a59c0315ccb59406a1;p=sdk%2Femulator%2Fqemu.git Fix linking error on Ubuntu 13.04 Change-Id: Ia75046455fc439a294b0aaf3ecfd51c435749c8c Signed-off-by: SeokYeon Hwang --- diff --git a/Makefile.target b/Makefile.target index a0175dfcdb..c6dc96846a 100755 --- a/Makefile.target +++ b/Makefile.target @@ -303,7 +303,9 @@ CHECK_GL_LDFLAGS = CHECK_GL_TARGET = ifdef CONFIG_LINUX CHECK_GL_OBJS += gloffscreen_xcomposite.o -CHECK_GL_LDFLAGS += -lGL -lXcomposite -lXext -lglib-2.0 +#CHECK_GL_LDFLAGS += -lGL -lXcomposite -lXext -lglib-2.0 +# Fix linking error on Ubuntu 13.04 +CHECK_GL_LDFLAGS += -lGL -lXcomposite -lX11 -lXext -lglib-2.0 CHECK_GL_TARGET = check-gl endif ifdef CONFIG_WIN32 diff --git a/configure b/configure index cd7fb0654e..6ca30b9f67 100755 --- a/configure +++ b/configure @@ -539,6 +539,8 @@ Haiku) if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then audio_possible_drivers="$audio_possible_drivers fmod" fi +# fix linking error on Ubuntu 13.04 + libs_qga="-lrt $libs_qga" ;; esac @@ -2725,7 +2727,10 @@ fi cat > $TMPC < #include +/* Fix linking error on Ubuntu 13.04 int main(void) { return clock_gettime(CLOCK_REALTIME, NULL); } +*/ +int main(void) { return timer_gettime(CLOCK_REALTIME, NULL); } EOF if compile_prog "" "" ; then