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, 11:55 AM   #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, 11:47 AM   #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 11:35 AM
Redhat9:rpm dependency, Sailaja Reddy Red Hat 1 06-16-2009 12:41 PM
Ubuntu won't boot error missing Kiwi944 Linux - Newbie 2 05-05-2009 06:39 PM
C++ application with Glade: compiling problem dr_berta Linux - Software 10 10-03-2005 07:09 PM
Dependency error : pinakidutta Linux - Newbie 1 12-31-2004 06:59 AM

All times are GMT -5. The time now is 12:28 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