[Openais] trunk -r1353 compiling failed on RHEL4
Chengyuan Li
chengyuanli at gmail.com
Mon Mar 12 04:24:20 PDT 2007
Hi,
I tried to compile the code from http://svn.osdl.org/openais/trunk -r1353
on my Linux machine (RHEL4), but it failed.
Seems that it needs following patch:
Index: Makefile.inc
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- Makefile.inc (revision 1353)
+++ Makefile.inc (working copy)
@@ -74,7 +74,7 @@
# platform specific CFLAGS, LDFLAGS
#
ifeq (${OPENAIS_COMPAT}, LINUX)
- override CFLAGS +=3D -DOPENAIS_LINUX
+ override CFLAGS +=3D -DOPENAIS_LINUX -DHAVE_SCANDIR -DHAVE_ALPHASORT
override LDFLAGS +=3D -ldl -lpthread
override DYFLAGS +=3D -rdynamic
endif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/openais/attachments/200703=
12/9319edd9/attachment-0001.htm
More information about the Openais
mailing list