When compiling esound-0.2.4.1 this error occurs if USE flag "debug" is activated : x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -march=native -O3 -pipe -msse3 -fno-strict-aliasing -Wall -c clients.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -march=native -O3 -pipe -msse3 -fno-strict-aliasing -Wall -c filter.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -march=native -O3 -pipe -msse3 -fno-strict-aliasing -Wall -c mix.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -march=native -O3 -pipe -msse3 -fno-strict-aliasing -Wall -c players.c clients.c: In function ‘get_new_clients’: clients.c:175: erreur: ‘addr’ undeclared (first use in this function) clients.c:175: erreur: (Each undeclared identifier is reported only once clients.c:175: erreur: for each function it appears in.) make[2]: *** [clients.o] Erreur 1 make[2]: *** Attente des tâches non terminées.... players.c: In function ‘new_stream_player’: players.c:551: attention : pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness make[2]: quittant le répertoire « /var/tmp/portage/media-sound/esound-0.2.41/work/esound-0.2.41 » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /var/tmp/portage/media-sound/esound-0.2.41/work/esound-0.2.41 » make: *** [all] Erreur 2 Reproducible: Always
It look like a bug in esound when debug is enabled. Somebody has been moving code around near that spot -- and removed the addr type declaration altogether while doing it. I think this commit shows the accidental removal: http://svn.gnome.org/viewvc/esound/trunk/clients.c?r1=495&r2=516
Created attachment 173496 [details, diff] patches in the missing addr definition required when enabling debug Patches in the missing addr definition required when enabling debug. I also filed my first ever GNOME-bug upstream: http://bugzilla.gnome.org/show_bug.cgi?id=562360
(In reply to comment #2) > Created an attachment (id=173496) [edit] > patches in the missing addr definition required when enabling debug patch tested and working fine on my box, thanks Arttu :-)
added in tree without a revbump, thanks for reporting and patch.