aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbuytenh <buytenh>2001-12-31 20:17:15 +0000
committerbuytenh <buytenh>2001-12-31 20:17:15 +0000
commit9652fc19205e276b8cc8a5dd05c00cf1953d459d (patch)
treeeb84bcc1f3f127d958b8ca3f4e8d91ace622da05
parent3527f2ec853c8af311070633a1f3f47cc9994b5b (diff)
downloadbridge-utils-9652fc19205e276b8cc8a5dd05c00cf1953d459d.tar.gz
Added comment from Serge Caron on how to build libbridge_compat.c
for people with older glibc's.
-rw-r--r--libbridge/libbridge_compat.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libbridge/libbridge_compat.c b/libbridge/libbridge_compat.c
index 0e019f7..5b9d97b 100644
--- a/libbridge/libbridge_compat.c
+++ b/libbridge/libbridge_compat.c
@@ -7,6 +7,22 @@
* Software Foundation, Inc.
*/
+/*
+ * On how to use this file: Serge Caron writes:
+ *
+ * I installed compat-glibc-6.2-2.1.3.2.i386.rpm in my Red Hat 5.2 box
+ *
+ * from the directory where libbridge is stored I ran
+ *
+ * gcc -Wall -g -nostdinc -I- -I.
+ * -I /usr/i386-glibc21-linux/include
+ * -I /usr/lib/gcc-lib/i386-redhat-linux/2.7.23/include
+ * -c libbridge_compat.c
+ *
+ * Now this gives a nice .o file that keeps make happy. Running make in the top
+ * directory builds brctl and brctld against glibc-2.0.7.
+ */
+
#define _BITS_LIBC_LOCK_H 1
#define __libc_lock_define_initialized(a,b)
#define __libc_lock_lock(a)