LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-18-2012, 01:43 PM   #1
g4cli
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora Core 14
Posts: 14

Rep: Reputation: 0
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
 
Old 12-19-2012, 07:38 AM   #2
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by g4cli View Post
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).
 
Old 12-19-2012, 08:12 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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

.

Last edited by knudfl; 12-19-2012 at 08:17 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"undefined reference to" error in make command! How? V4HID Linux - Desktop 7 10-14-2009 10:30 AM
Error when "make" the source of CosmoMC: undefined reference to `dpotrf_' limh Linux - Software 1 09-30-2009 02:27 PM
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
Error: Make on kismet-2005-08-R1 "undefined reference" zeevolking Linux - Software 1 12-23-2005 08:40 PM
Kernel make bzImage error "undefined reference" w/ Prism2.5 USB driver under 2.6 joachimvb Mandriva 1 09-24-2004 07:43 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration