Hi!
I get this build error on *BSD with changeset 13214:
symbols.c: In function `compress_symbols'':
symbols.c:366: warning: implicit declaration of function `memmem''
symbols.c:366: warning: assignment makes pointer from integer without a cast
symbols.c:385: warning: assignment makes pointer from integer without a cast
gmake[3]: *** [symbols] Error 1
gmake[3]: Leaving directory `/usr/src/xen-unstable.hg/xen/tools''
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/src/xen-unstable.hg/xen/tools''
gmake[1]: *** [/usr/src/xen-unstable-master.hg/xen/xen] Error 2
gmake[1]: Leaving directory `/usr/src/xen-unstable.hg/xen''
The glibc manpage on Linux clearly says:
CONFORMING TO
This function is a GNU extension.
And according to the BUGS section, this function does not work reliably.
The attached patch makes this build again by replacing memmem() with strstr().
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel