LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   glib 2.32-4 won't make - "undefined reference to elf_end" (https://www.linuxquestions.org/questions/programming-9/glib-2-32-4-wont-make-undefined-reference-to-elf_end-4175442011/)

g4cli 12-18-2012 01:43 PM

glib 2.32-4 won't make - "undefined reference to elf_end"
 
I'm using Centos 5 and I need to build gtk+-3.6.1 which requires glib 2.32-4. I cannot build glib as during the "make" phase, I receive the error "undefined reference to elf_end" along with several other similar messages. I have installed libelf and I'm still getting the error. Please help!

Regards

David Lockwood

JohnGraham 12-19-2012 07:38 AM

Quote:

Originally Posted by g4cli (Post 4852129)
I receive the error "undefined reference to elf_end" along with several other similar messages.

Please cut and paste all such messages - make absolutely sure you include the very first message that looks even vaguely like a warning/error.

If unsure, rerun "make" and post the entire output (there will be a lot less than the first time you run it).

knudfl 12-19-2012 08:12 AM

Glib-2.32.4 errors : A corrupt source ? Or ?
glib-2.32.4.tar.xz http://ftp.gnome.org/pub/gnome/sourc...-2.32.4.tar.xz

cd glib-2.32.4/ && ./configure && make : No errors, CentOS 5.8 (x86_64).

glib-2.32.4 prerequisites : # yum install xz libffi-devel python26-devel


Installed "elf" package(s) :
$ rpm -qa | grep elf
elfutils-libelf-0.137-3.el5

.


All times are GMT -5. The time now is 03:45 PM.