[Live-devel] xlocale.h inclusion causes build failure with glibc 2.26

2018-02-12 Thread Jonathan Brady

Hello,

We are getting a build failure when compiling the latest live555 with 
glibc 2.26.


In file included from MPEG4GenericRTPSink.cpp:22:0:
include/Locale.hh:47:10: fatal error: xlocale.h: No such file or directory
#include  // because, on some systems,  doesn't 
include ; this makes sure that we get both

^~~
compilation terminated.

Apparently xlocale.h has been removed from glibc, see: 
https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27


Regards,

Jonathan

___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] xlocale.h inclusion causes build failure with glibc 2.26

2018-02-12 Thread Ross Finlayson
Thanks for the report.

I’ve just installed a new version (2018.02.12} of the “LIVE555 Streaming Media” 
code that no longer tries to include “xlocale.h”.  (If, however, you still need 
this, you can get it by adding "-DNEED_XLOCALE_H" to your "config.*" file.)

Also, the macro “XLOCALE_NOT_USED” has been renamed “NEWLOCALE_NOT_USED”, for 
clarity.  If your “config.*” file has “-DXLOCALE_NOT_USED=1”, then you should 
change this to “-DNEWLOCALE_NOT_USED=1”.

If you’re confused by all this, please see the comments at the top of 
“liveMedia/include/Locale.hh”, which explains this in more detail.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel