Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio will not compile due to ltdl-bind-now.c
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bastibasti
Guru
Guru


Joined: 27 Nov 2006
Posts: 581

PostPosted: Tue Mar 12, 2013 10:46 pm    Post subject: Pulseaudio will not compile due to ltdl-bind-now.c Reply with quote

Hi

I am trying to compile pulseaudio (dependency of gqrx)

Code:
  CC     pulseaudio-caps.o
  CC     pulseaudio-cmdline.o
  CC     pulseaudio-cpulimit.o
  CC     pulseaudio-daemon-conf.o
  CC     pulseaudio-dumpmodules.o
  CC     pulseaudio-ltdl-bind-now.o
  CC     pulseaudio-main.o
daemon/ltdl-bind-now.c:71:67: Fehler: unbekannter Typname: »lt_dladvise«
daemon/ltdl-bind-now.c:110:1: Fehler: unbekannter Typname: »lt_dlvtable«
daemon/ltdl-bind-now.c: In Funktion »pa_ltdl_init«:
daemon/ltdl-bind-now.c:116:5: Fehler: unbekannter Typname: »lt_dlvtable«
daemon/ltdl-bind-now.c:126:25: Warnung: Zuweisung von inkompatiblem Zeigertyp [standardmäßig aktiviert]
daemon/ltdl-bind-now.c:131:42: Fehler: »lt_dlvtable« nicht deklariert (erste Benutzung in dieser Funktion)
daemon/ltdl-bind-now.c:131:42: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet
daemon/ltdl-bind-now.c:137:19: Fehler: Anfrage nach Element »name« in etwas, was keine Struktur oder Variante ist
daemon/ltdl-bind-now.c:138:19: Fehler: Anfrage nach Element »module_open« in etwas, was keine Struktur oder Variante ist
daemon/ltdl-bind-now.c:138:35: Fehler: »bind_now_open« nicht deklariert (erste Benutzung in dieser Funktion)
daemon/ltdl-bind-now.c:139:19: Fehler: Anfrage nach Element »module_close« in etwas, was keine Struktur oder Variante ist
daemon/ltdl-bind-now.c:140:19: Fehler: Anfrage nach Element »find_sym« in etwas, was keine Struktur oder Variante ist
daemon/ltdl-bind-now.c:141:19: Fehler: Anfrage nach Element »priority« in etwas, was keine Struktur oder Variante ist
daemon/ltdl-bind-now.c:141:32: Fehler: »LT_DLLOADER_PREPEND« nicht deklariert (erste Benutzung in dieser Funktion)
daemon/ltdl-bind-now.c:144:5: Warnung: Übergabe des Arguments 1 von »lt_dlloader_add« von inkompatiblem Zeigertyp [standardmäßig aktiviert]
/usr/local/include/ltdl.h:298:15: Anmerkung: »struct lt_dlloader *« erwartet, aber Argument hat Typ »int *«
daemon/ltdl-bind-now.c:144:5: Fehler: Zu wenige Argumente für Funktion »lt_dlloader_add«
/usr/local/include/ltdl.h:298:15: Anmerkung: hier deklariert
make[3]: *** [pulseaudio-ltdl-bind-now.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...


my gcc version is 4.6.3. i alredy tried pulseaudio 3.0 but it gives the same failure. I ran revdep-rebuild and python-updater. no clue. any advise?
Back to top
View user's profile Send private message
aim nano
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2006
Posts: 131
Location: Jackson, MS

PostPosted: Sat Mar 16, 2013 7:39 am    Post subject: Reply with quote

May be a problem with your cflags

try changing your cflags to
CFLAGS="-march=native -O2 -pipe"
temporarily and try again
_________________
Unanswered posts need love too.
--
~ # emerge -pv gentoo-love
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sat Mar 16, 2013 11:07 am    Post subject: Re: Pulseaudio will not compile due to ltdl-bind-now.c Reply with quote

bastibasti wrote:
Code:
  CC     pulseaudio-caps.o
/usr/local/include/ltdl.h:298:15: Anmerkung: hier deklariert
make[3]: *** [pulseaudio-ltdl-bind-now.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...

bastibasti ...

Firstly, you should use 'LANG=C make' as otherwise non-deutsche will not make any sense of the output from gcc.

Secondly, looks like your building out of tree ... not sure why. Also it seems you also have libtool in /usr/local, again, not sure why. Any reason for not using the ebuild, and/or for having a version of libtool in /usr/local?

My guess is the build is failing because its using headers from an out of tree libtool which may not be an adequate version for the build ... but thats a guess.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum