Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-06-2008, 12:55 PM   #1
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Rep: Reputation: 34
glade application compilation problem - complains about error

hi all,
I am tryin my hands at developing a simple GUI based application with glade.
After designing the GUI with a couple of GNOME and gtk widgets, When I did a it worked alright. But the subsequent make failed with the following errors:-

/lib/ undefined reference to `midiparser_input_buf'
/lib/ undefined reference to `midiparser_create'
collect2: ld returned 1 exit status
make[2]:***[project2] Error 1
make[2]: Leaving directory '/root/Projects/project2/src'
make[1]:***[all-recursive] Error 1
make[1]: Leaving directory '/root/Projects/project2'
make: *** [all] Error 2
To me it looks like some sound library errors. My application doesnot have any sound functionality. Also for your info I donot have alsa on my machine, it is using OSS.

could someone help me compile the application and also tell me the reason for failure for future reference.

thanks in advance
Old 11-07-2008, 12:47 PM   #2
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 315

Original Poster
Rep: Reputation: 34
Solved it
If an application refuses to start with " undefined symbol errors", then this indicates that the version of libasound the app was linked with is different from the libasound in the system. OSSv4.0 replaces with libsalsa, in order to allow some ALSA emulation and causes this error.
Do as under :-
# mv /usr/lib/oss/lib/ /usr/lib/oss/lib/
# ldconfig
Actually, pythong and gtk+ applications make a reference to the library, the emulation won't be any good.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[gtk] - adding an application icon using glade Misel Programming 3 01-08-2011 12:35 PM
Redhat9:rpm dependency, Sailaja Reddy Red Hat 1 06-16-2009 01:41 PM
Ubuntu won't boot error missing Kiwi944 Linux - Newbie 2 05-05-2009 07:39 PM
C++ application with Glade: compiling problem dr_berta Linux - Software 10 10-03-2005 08:09 PM
Dependency error : pinakidutta Linux - Newbie 1 12-31-2004 07:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 AM.

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