View previous topic :: View next topic |
Author |
Message |
Jonas Hallberg n00b
Joined: 03 Feb 2010 Posts: 3
|
Posted: Thu Feb 04, 2010 1:12 am Post subject: Trouble compiling entrance (SOLVED) |
|
|
I'm having trouble compiling entrance (svn) on gentoo amd64.
Tried both viper's and niifaq overlays but getting the same error.
Code: |
main.c: I funktion "main":
main.c:732: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
main.c:734: varning: implicit deklaration av funktionen "bindtextdomain"
main.c:735: varning: implicit deklaration av funktionen "textdomain"
main.c: I funktion "setup_ecore_evas":
main.c:988: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
main.c:1057: varning: typkonvertering till pekare från heltal med annan storlek
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/entrance_login.Tpo .deps/entrance_login.Po
mv -f .deps/util.Tpo .deps/util.Po
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entrance entrance_auth.o entrance_session.o entrance_config.o entrance_user.o entrance_x_session.o entrance_ipc.o entrance_smart.o util.o main.o -ledje -lefreet -lecore -lecore_evas -lecore_file -lecore_ipc -lecore_config -levas -lesmart_container -lesmart_text_entry -levas -lecore_evas -lImlib2 -ledje -lcairo -lecore_x -lpam -lcrypt
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entrance_login entrance_login.o entrance_auth.o util.o -lecore -lecore_evas -lecore_file -lecore_ipc -lecore_config -lpam -lcrypt
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entrance_login entrance_login.o entrance_auth.o util.o /usr/lib64/libecore_evas.so -L/usr/X11R6/lib /usr/lib64/libecore_x.so /usr/lib64/libXcursor.so /usr/lib64/libXdamage.so /usr/lib64/libXcomposite.so /usr/lib64/libXfixes.so /usr/lib64/libXinerama.so /usr/lib64/libXp.so /usr/lib64/libXrandr.so /usr/lib64/libXss.so /usr/lib64/libXtst.so /usr/lib64/libecore_txt.so /usr/lib64/libXext.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libecore_sdl.so /usr/lib64/libSDL.so /usr/lib64/libecore_input_evas.so /usr/lib64/libecore_input.so /usr/lib64/libecore_file.so -L/usr/lib64 /usr/lib64/libecore_config.so /usr/lib64/libevas.so /usr/lib64/libfribidi.so /usr/lib64/libeet.so /usr/lib64/libjpeg.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lpthread /usr/lib64/libecore_ipc.so /usr/lib64/libecore_con.so /usr/lib64/libecore.so /usr/lib64/libglib-2.0.so /usr/lib64/libcurl.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lz /usr/lib64/libeina.so -lrt -lm -ldl -lpam -lcrypt -pthread
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entrance entrance_auth.o entrance_session.o entrance_config.o entrance_user.o entrance_x_session.o entrance_ipc.o entrance_smart.o util.o main.o -L/usr/lib64 /usr/lib64/libefreet.so -L/usr/X11R6/lib /usr/lib64/libecore_config.so /usr/lib64/libecore_ipc.so /usr/lib64/libesmart_container.so /usr/lib64/libltdl.so /usr/lib64/libesmart_text_entry.so /usr/lib64/libecore_evas.so /usr/lib64/libecore_sdl.so /usr/lib64/libSDL.so /usr/lib64/libecore_input_evas.so /usr/lib64/libImlib2.so /usr/lib64/libedje.so /usr/lib64/libecore_file.so /usr/lib64/libecore_con.so /usr/lib64/libcurl.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv /usr/lib64/libembryo.so //usr/lib64//liblua.so /usr/lib64/libecore_imf_evas.so /usr/lib64/libecore_imf.so /usr/lib64/libevas.so /usr/lib64/libfribidi.so /usr/lib64/libeet.so -lssl -lcrypto /usr/lib64/libjpeg.so -lpthread /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libpng12.so -lz /usr/lib64/libecore_x.so /usr/lib64/libXcursor.so /usr/lib64/libXdamage.so /usr/lib64/libXcomposite.so /usr/lib64/libXfixes.so /usr/lib64/libXinerama.so /usr/lib64/libXp.so /usr/lib64/libXrandr.so /usr/lib64/libXrender.so /usr/lib64/libXss.so /usr/lib64/libXtst.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXdmcp.so /usr/lib64/libXau.so /usr/lib64/libecore_txt.so /usr/lib64/libecore_input.so /usr/lib64/libecore.so /usr/lib64/libglib-2.0.so /usr/lib64/libeina.so -lrt -lm -ldl -lpam -lcrypt -pthread -Wl,-rpath -Wl,//usr/lib64/ -Wl,-rpath -Wl,//usr/lib64/
make[3]: Leaving directory `/var/tmp/portage/x11-misc/entrance-9999/work/entrance/src/client'
Making all in daemon
make[3]: Entering directory `/var/tmp/portage/x11-misc/entrance-9999/work/entrance/src/daemon'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/kerberos/include -O2 -march=native -pipe -Wall -MT auth.o -MD -MP -MF .deps/auth.Tpo -c -o auth.o auth.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/kerberos/include -O2 -march=native -pipe -Wall -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/kerberos/include -O2 -march=native -pipe -Wall -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
ipc.c: I funktion "_entranced_ipc_client_add":
ipc.c:23: varning: implicit deklaration av funktionen "gettext"
ipc.c:23: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c: I funktion "_entranced_ipc_client_del":
ipc.c:35: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c: I funktion "_entranced_ipc_client_data":
ipc.c:79: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c:87: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c:94: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c: I funktion "entranced_ipc_init":
ipc.c:128: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c:137: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
ipc.c: I funktion "entranced_ipc_shutdown":
ipc.c:154: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
mv -f .deps/ipc.Tpo .deps/ipc.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/kerberos/include -O2 -march=native -pipe -Wall -MT spawner.o -MD -MP -MF .deps/spawner.Tpo -c -o spawner.o spawner.c
auth.c: I funktion "entranced_cookie_new":
auth.c:44: varning: implicit deklaration av funktionen "gettext"
auth.c:44: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c:51: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "_entranced_auth_purge":
auth.c:104: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "_entranced_auth_generate":
auth.c:173: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c:179: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "_entranced_auth_entry_add":
auth.c:301: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c:314: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "entranced_auth_display_secure":
auth.c:339: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "entranced_auth_user_add":
auth.c:419: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
auth.c: I funktion "entranced_auth_user_remove":
auth.c:521: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
mv -f .deps/auth.Tpo .deps/auth.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/eina-0 -I/usr/include/eina-0/eina -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/kerberos/include -O2 -march=native -pipe -Wall -MT entranced_display.o -MD -MP -MF .deps/entranced_display.Tpo -c -o entranced_display.o entranced_display.c
mv -f .deps/util.Tpo .deps/util.Po
spawner.c: I funktion "main":
spawner.c:185: varning: ignorerar returvärdet av "freopen", deklarerad med attributet warn_unused_result
spawner.c:186: varning: ignorerar returvärdet av "freopen", deklarerad med attributet warn_unused_result
spawner.c:187: varning: ignorerar returvärdet av "freopen", deklarerad med attributet warn_unused_result
spawner.c: I funktion "_write_pidfile":
spawner.c:266: varning: ignorerar returvärdet av "fwrite", deklarerad med attributet warn_unused_result
mv -f .deps/spawner.Tpo .deps/spawner.Po
entranced_display.c: I funktion "_start_server_once":
entranced_display.c:161: varning: implicit deklaration av funktionen "gettext"
entranced_display.c:161: varning: inkompatibel implicit deklaration av inbyggd funktion "gettext"
mv -f .deps/entranced_display.Tpo .deps/entranced_display.Po
/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entranced auth.o ipc.o md5.o util.o spawner.o entranced_display.o -lXau -lecore -lecore_evas -lecore_file -lecore_ipc -lecore_config -lpam -lcrypt
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entranced auth.o ipc.o md5.o util.o spawner.o entranced_display.o /usr/lib64/libecore_evas.so -L/usr/X11R6/lib /usr/lib64/libecore_x.so /usr/lib64/libXcursor.so /usr/lib64/libXdamage.so /usr/lib64/libXcomposite.so /usr/lib64/libXfixes.so /usr/lib64/libXinerama.so /usr/lib64/libXp.so /usr/lib64/libXrandr.so /usr/lib64/libXss.so /usr/lib64/libXtst.so /usr/lib64/libecore_txt.so /usr/lib64/libXext.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libecore_sdl.so /usr/lib64/libSDL.so /usr/lib64/libecore_input_evas.so /usr/lib64/libecore_input.so /usr/lib64/libecore_file.so -L/usr/lib64 /usr/lib64/libecore_config.so /usr/lib64/libevas.so /usr/lib64/libfribidi.so /usr/lib64/libeet.so /usr/lib64/libjpeg.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lpthread /usr/lib64/libecore_ipc.so /usr/lib64/libecore_con.so /usr/lib64/libecore.so /usr/lib64/libglib-2.0.so /usr/lib64/libcurl.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lz /usr/lib64/libeina.so -lrt -lm -ldl -lpam -lcrypt -pthread
auth.o: In function `_entranced_auth_purge':
auth.c:(.text+0x49): undefined reference to `ecore_list_new'
auth.c:(.text+0x59): undefined reference to `ecore_list_free_cb_set'
auth.c:(.text+0xe7): undefined reference to `ecore_list_append'
auth.o: In function `entranced_auth_display_secure':
auth.c:(.text+0x78b): undefined reference to `ecore_list_first_goto'
auth.c:(.text+0x7a1): undefined reference to `ecore_list_remove'
auth.c:(.text+0x93d): undefined reference to `ecore_list_append'
auth.c:(.text+0x9f4): undefined reference to `ecore_list_new'
auth.c:(.text+0xa06): undefined reference to `ecore_list_free_cb_set'
auth.o: In function `_entranced_auth_purge':
auth.c:(.text+0x14e): undefined reference to `ecore_list_destroy'
ipc.o: In function `entranced_ipc_shutdown':
ipc.c:(.text+0x21): undefined reference to `ecore_list_destroy'
ipc.o: In function `entranced_ipc_init':
ipc.c:(.text+0x3bd): undefined reference to `ecore_list_destroy'
ipc.c:(.text+0x3c2): undefined reference to `ecore_list_new'
entranced_display.o: In function `edd_new':
entranced_display.c:(.text+0x54c): undefined reference to `ecore_list_new'
collect2: ld returned 1 exit status
make[3]: *** [entranced] Fel 1
make[3]: Leaving directory `/var/tmp/portage/x11-misc/entrance-9999/work/entrance/src/daemon'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/entrance-9999/work/entrance/src'
make[1]: *** [all] Fel 2
make[1]: Leaving directory `/var/tmp/portage/x11-misc/entrance-9999/work/entrance/src'
make: *** [all-recursive] Fel 1
* This is a LIVE SOURCES ebuild.
* That means there are NO promises it will work.
* If it fails to build, FIX THE CODE YOURSELF
* before reporting any issues.
* ERROR: x11-misc/entrance-9999 failed:
* emake failed
* !!! SEND BUG REPORTS TO enlightenment@gentoo.org NOT THE E TEAM
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 3021: Called enlightenment_src_compile
* environment, line 1623: Called enlightenment_die 'emake failed'
* environment, line 1607: Called die
* The specific snippet of code:
* '"!!! SEND BUG REPORTS TO enlightenment@gentoo.org NOT THE E TEAM"
*
* If you need support, post the output of 'emerge --info =x11-misc/entrance-9999',
* the complete build log and the output of 'emerge -pqv =x11-misc/entrance-9999'.
* This ebuild used the following eclasses from overlays:
* /usr/local/portage/layman/enlightenment-niifaq/eclass/enlightenment.eclass
* This ebuild is from an overlay named 'enlightenment-niifaq': '/usr/local/portage/layman/enlightenment-niifaq/'
* The complete build log is located at '/var/tmp/portage/x11-misc/entrance-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-misc/entrance-9999/temp/environment'.
* S: '/var/tmp/portage/x11-misc/entrance-9999/work/entrance'
>>> Failed to emerge x11-misc/entrance-9999, Log file:
>>> '/var/tmp/portage/x11-misc/entrance-9999/temp/build.log'
* Messages for package x11-misc/entrance-9999:
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
I tracked ecore_list_new to libecore_data.so and as you can see it is not linked in the command that fails.
If i run the last command and manualy add /usr/lib64/libecore_data.so i get alittle bit further but the it stops on:
Code: |
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wall -Wl,-O1 -o entranced auth.o ipc.o md5.o util.o spawner.o entranced_display.o /usr/lib64/libecore_data.so /usr/lib64/libecore_evas.so -L/usr/X11R6/lib /usr/lib64/libecore_x.so /usr/lib64/libXcursor.so /usr/lib64/libXdamage.so /usr/lib64/libXcomposite.so /usr/lib64/libXfixes.so /usr/lib64/libXinerama.so /usr/lib64/libXp.so /usr/lib64/libXrandr.so /usr/lib64/libXss.so /usr/lib64/libXtst.so /usr/lib64/libecore_txt.so /usr/lib64/libXext.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libecore_sdl.so /usr/lib64/libSDL.so /usr/lib64/libecore_input_evas.so /usr/lib64/libecore_input.so /usr/lib64/libecore_file.so -L/usr/lib64 /usr/lib64/libecore_config.so /usr/lib64/libevas.so /usr/lib64/libfribidi.so /usr/lib64/libeet.so /usr/lib64/libjpeg.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so -lpthread /usr/lib64/libecore_ipc.so /usr/lib64/libecore_con.so /usr/lib64/libecore.so /usr/lib64/libglib-2.0.so /usr/lib64/libcurl.so /usr/lib64/libldap.so /usr/lib64/liblber.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lz /usr/lib64/libeina.so -lrt -lm -ldl -lpam -lcrypt -pthread
/usr/lib64/libecore_data.so: undefined reference to `ecore_strlcpy'
/usr/lib64/libecore_data.so: undefined reference to `ecore_str_has_suffix'
collect2: ld returnerade avslutningsstatus 1
|
This is a brand new gentoo install.
Last edited by Jonas Hallberg on Thu Feb 04, 2010 9:03 pm; edited 2 times in total |
|
Back to top |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Thu Feb 04, 2010 1:54 pm Post subject: |
|
|
I used it too, sometimes the version you pull from SVN just won't compile. That is because someone made a change, that broke another's code...
If it is not solved in a few days, you might need to consider whether you have all the dependency's required... |
|
Back to top |
|
|
Jonas Hallberg n00b
Joined: 03 Feb 2010 Posts: 3
|
Posted: Thu Feb 04, 2010 4:42 pm Post subject: |
|
|
Yeah i suspect a dependency problem too, been trying for a week now so i don't think svn entrance is broken.
Can anyone confirm if svn entrance have been broken on amd64 the last week?
Do you have a good method for finding missing dependencys?
Can it be that i only have xorg-server and not xorg-x11, do entrance depend on something that gets pulled in with xorg-x11? |
|
Back to top |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Thu Feb 04, 2010 6:02 pm Post subject: |
|
|
Jonas Hallberg wrote: | Yeah i suspect a dependency problem too, been trying for a week now so i don't think svn entrance is broken.
Can anyone confirm if svn entrance have been broken on amd64 the last week?
Do you have a good method for finding missing dependencys?
Can it be that i only have xorg-server and not xorg-x11, do entrance depend on something that gets pulled in with xorg-x11? |
Well, last time I checked entrance was dead. The code was not being actively developed. But I think you just need to wait, or notify the enlightenment crew of your problem, because someone seems to be working on it again (quaker).
Another problem could be that (I see you are using march=native) which means a fairly recent gcc. Maybe it could be a gcc regression... |
|
Back to top |
|
|
Jonas Hallberg n00b
Joined: 03 Feb 2010 Posts: 3
|
Posted: Thu Feb 04, 2010 9:03 pm Post subject: |
|
|
I got it working.
What i did was enable all use flags for ecore and added xcb to make.conf.
emerge uND world
ran revdep-rebuild
reemerged alla enlightenment base packages.
Don't know exactly which use flag that made it work. |
|
Back to top |
|
|
Rexilion Veteran
Joined: 17 Mar 2009 Posts: 1044
|
Posted: Thu Feb 04, 2010 9:11 pm Post subject: |
|
|
Jonas Hallberg wrote: | I got it working.
What i did was enable all use flags for ecore and added xcb to make.conf.
emerge uND world
ran revdep-rebuild
reemerged alla enlightenment base packages.
Don't know exactly which use flag that made it work. |
Good job. Mostly you are just on your own with these kind of things, glad you got it working (reminds me of my days using enlightenment, struggling 8 hours a day just to get it working ) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|