Problems when linking other packages (i.e.: Asterisk with iLBC) with this library (libvpb0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vpb-driver (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
As reported here:
http://
Summary:
* libvpb0 is a dependency of the Asterisk package (Voicetronix API)
* Digium removed the iLBC codec from their svn tree, but we can get it compiled using their contrib/
* If compiling the Asterisk package by hand, the window() function from VPB overlaps the window() function from the iLBC codec source code.
I would suggest either of these projects to rename the function to a better name that associates its functionnality to its corresponding project.
I uploaded a patch to Digium to rename that function to ilbc_window() when downloading and extracting the source code (from a RFC).
This bug could also affect other packages as well, I think this function name should be changed in the vpb-driver.
I'm posting this bug onto Launchpad because I'm using Ubuntu, but I will try to contact Voicetronix to make them aware of this issue and maybe patch their original source code.
window() function prototype from vpb-driver: http://
window() function prototype from ilbc_codec: http://
I left an email to VoiceTronix about that issue (<email address hidden>, <email address hidden>, <email address hidden>) a few minutes ago, so they can have a look at it too.
My C skills are rusty, but I think that renaming the function to another name in the source code would be the correct way to deal with that overlap.