Hello:

I am try to follow the Elementary guide:
http://trac.enlightenment.org/e/wiki/Elementary

But when I compile the hello world get net next errors:

gcc -DHAVE_CONFIG_H -I. -I.   -I/usr/include/ecore-1 -I/usr/include/eina-1
-I/usr/include/eina-1/eina -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.1
-I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/p11-kit-1
-I/usr/include/elementary-0 -I/usr/include/edje-1 -I/usr/include/evas-1
-I/usr/include/eet-1 -I/usr/include/embryo-1   -g -O2 -MT myapp-main.o -MD
-MP -MF .deps/myapp-main.Tpo -c -o myapp-main.o `test -f 'main.c' || echo
'./'`main.c
mv -f .deps/myapp-main.Tpo .deps/myapp-main.Po
gcc -I/usr/include/ecore-1 -I/usr/include/eina-1
-I/usr/include/eina-1/eina -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/lua5.1
-I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/p11-kit-1
-I/usr/include/elementary-0 -I/usr/include/edje-1 -I/usr/include/evas-1
-I/usr/include/eet-1 -I/usr/include/embryo-1   -g -O2   -o myapp
myapp-main.o -lelementary
/usr/bin/ld.bfd.real: myapp-main.o: undefined reference to symbol
'evas_object_smart_callback_add'
/usr/bin/ld.bfd.real: note: 'evas_object_smart_callback_add' is defined in
DSO /usr/lib/libevas.so.1 so try adding it to the linker command line
/usr/lib/libevas.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [myapp] Error 1
make[1]: se sale del directorio `/home/emonge/elementary'
make: *** [all] Error 2

I read in some lists the problem is the GCC version.

My version of E17 is the same of Debian Sid, my version of gcc:
emonge@debian:~/elementary$ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc-4.7.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.1-5'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-gnu-unique-object --enable-plugin --enable-objc-gc
--with-arch-32=i586 --with-tune=generic --enable-checking=release
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.1 (Debian 4.7.1-5)

What is wrong?

Thanks


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to