my Makefile as follows:

DEST=send_hypertable.so
OBJS=HandleFile.o HypertableCdr.o SenderHypetable.o

CC=g++
CPPFLAGS= -fPIC -shared -Wall -D_REENTRANT \
        -I/home/wl/dependency/hypertalbe/include \
        -I/usr/local/include/boost/ \
        -I/usr/local/berkeleydb/include 
SHAREFLAGS=
INCLUDES=
LIBS=-rdynamic \
-L/home/wl/dependency/hypertalbe\lib \
-lHypertable -lHyperComm -lHyperCommon -lHyperspace -lHyperTools \
-lHyperDfsBroker -lsigar-amd64-linux -lexpat -lncurses -lre2  -ltcmalloc -ldb \
-lboost_thread -lboost_iostreams -lboost_program_options -lboost_system 
-lboost_filesystem \
-lHyperComm -lHyperCommon 

.PHONY : build rebuild clean install

#part build
build : $(DEST)

$(DEST) : $(OBJS)
# $(CC) $(CPPFLAGS) $(SHAREFLAGS) $(INCLUDES)  -o $@ $^ $(LIBS) 
$(CC) $(CPPFLAGS) $(SHAREFLAGS) $(INCLUDES) -o $@ $^ $(LIBS)

.c.o:
$(CC) $(CPPFLAGS)  -c $<

#full build
rebuild : clean build

#delete all .o and exe files
clean :
rm -f $(OBJS)
rm -f $(DEST)

#copy DEST to destination
install : rebuild
cp -f $(DEST) ../bin


when running my application, it report error "undefined symbol: 
_ZN10Hypertable6Logger6loggerE"; why?  

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to