Error cross-compiling PulseAudio 4.99.2 for win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2014-01-26 at 19:32 -0500, Michael DePaulo wrote:
> [   52s] pulsecore/.libs/libpulsecore_4.99_la-module.o: In function
> `pa_module_exists':
> [   52s] /home/abuild/rpmbuild/BUILD/pulseaudio-4.99.2/src/pulsecore/module.c:70:
> undefined reference to `rindex'
> [   52s] collect2: error: ld returned 1 exit status

strrchr() does the same thing as rindex(), but is "more standard", so I
changed the rindex() call in module.c to a strrchr() call. Hopefully
mingw32 likes that function. The patch is attached (and I already
applied it to the master branch). Could you try again with this patch?

-- 
Tanu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-module-Replace-rindex-with-strrchr.patch
Type: text/x-patch
Size: 958 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140127/eaefa9a5/attachment-0001.bin>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux