--- Makefile.MODULE.old 2005-12-11 10:52:56.000000000 +0900 +++ Makefile.MODULE 2005-12-11 10:54:21.000000000 +0900 @@ -43,7 +43,7 @@ $(MODULE_LIBRARY): $(MODULE_OBJ) echo '[M] $@' - $(CXX) $(CXXFLAGS) -o $@ -shared $(MODULE_OBJ) $(LDFLAGS) + $(CXX) $(CXXFLAGS) -o $@ -shared -fPIC $(MODULE_OBJ) $(LDFLAGS) $(SOURCE_DIRECTORY)/%.o: $(SOURCE_DIRECTORY)/%.cpp echo '[C] $<'