MacOS compilation

Julien ÉLIE julien at trigofacile.com
Sun May 22 09:08:26 UTC 2011


Hi Bo,

> If the problem is with common variables, wouldn't it be easier to
> just make them non-common by adding initialisations?

Your suggestion fixes the issue.  Just compiled fine on Darwin.

We can even remove buffindexed/shmem.o from the buffindexed dependencies.


Index: storage/buffindexed/ovmethod.mk
===================================================================
--- storage/buffindexed/ovmethod.mk	(révision 9189)
+++ storage/buffindexed/ovmethod.mk	(copie de travail)
@@ -5,5 +5,4 @@
 
 buffindexed/buffindexed_d: buffindexed/buffindexed_d.o libstorage.$(EXTLIB) $(LIBHIST)
 	$(LIBLD) $(LDFLAGS) -o $@ buffindexed/buffindexed_d.o \
-	    buffindexed/shmem.o expire.o ov.o \
 	    $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
Index: storage/ov.c
===================================================================
--- storage/ov.c	(révision 9189)
+++ storage/ov.c	(copie de travail)
@@ -28,8 +28,8 @@
 static bool             OVdelayrm;
 static OV_METHOD	ov;
 
-time_t	OVrealnow;
-bool    OVstatall;
+time_t	OVrealnow = 0;
+bool    OVstatall = false;
 
 bool
 OVopen(int mode)



Thanks!

-- 
Julien ÉLIE

« Aux quatre coins de l'Hexagone. »



More information about the inn-workers mailing list