Bluehost.com Web Hosting $6.95

small logical problem , running the make fiel .... plz see it

This is a discussion on small logical problem , running the make fiel .... plz see it within the MySQL Database forums, part of the Database Forums category; if i run my make file i am getting all the lines error .... can any one tell abt this my ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2007
yogesh
 
Posts: n/a
Default small logical problem , running the make fiel .... plz see it

if i run my make file i am getting all the lines error .... can any
one tell abt this

my make file consist of the detais

[root@gemini unix]# cat Makefile_adm
PRJ=adm.cgi
_INSTALLDIR=../bin
INSTALLUSER=root
INSTALLGROUP=wheel
LIBDIR=../lib
SRCDIR=../src
COMMONDIR=$(SRCDIR)/common
# QLDIRLIB=/usr/local/lib/mysql
QLDIRLIB=/usr/lib/mysql
# MYSQLDIRINCLUDE=/usr/local/include/mysql
MYSQLDIRINCLUDE=/usr/include/mysql
# MYSQLDIRLIB=/usr/local/lib/mysql
MYSQLDIRLIB=/usr/lib/mysql
#MYSQLVER=4
MYSQLVER=5

_CFLAGS=-O0 -g -pthread -DCASINO_TWIST -DTARGET_UNIX -DMYSQL$
(MYSQLVER)

#INSTALLDIR=$(_INSTALLDIR)/adm/cgi/
INSTALLDIR=$(_INSTALLDIR)/cgi/

PRJDIR=$(SRCDIR)/adm

CFLAGS=$(_CFLAGS) -DNOTHREAD -DCASINO_TWIST

INCLUDES=-I.. -I$(SRCDIR) -I$(LIBDIR) -I$(MYSQLDIRINCLUDE)

#LFLAGS=-L$(MYSQLDIRLIB) -L/usr/local/lib -lmysqlclient
LFLAGS=-L$(MYSQLDIRLIB) -L/usr/lib/mysql/ -lmysqlclient

OBJS_LIB= \
$(LIBDIR)/m_string.o \
$(LIBDIR)/m_except.o \
$(LIBDIR)/http/m_http.o \

OBJS_PRJ= \
$(PRJDIR)/mCommon.o \
$(PRJDIR)/mCgiMain.o \
$(PRJDIR)/mSSIService.o \
$(PRJDIR)/mMain.o

OBJS= \
$(OBJS_LIB) \
$(OBJS_PRJ)

.cpp.o:

g++ -c $(CFLAGS) $(INCLUDES) -o $@ $<
all: index
index: $(OBJS)

g++ -o $(PRJ) $(CFLAGS) $(LFLAGS) $(OBJS)
install: all

mkdir -p $(INSTALLDIR)
strip $(PRJ)
cp $(PRJ) $(INSTALLDIR)
chmod 755 $(INSTALLDIR)/$(PRJ)
chown $(INSTALLUSER):$(INSTALLGROUP) $(INSTALLDIR)/$(PRJ)
clean:
rm -f *.o $(OBJS) *~ core


if i compile i am getting the output as
>make -f Makefile_adm


.../lib/map/m_map.o(.m_ssi::TMap<TStr>::gnu.linkonce.t.Add(TSt r const
&, TStr const &)+0xdf):/home/casino/unix/../lib/map/m_map.h: undefined
reference to `__builtin_delete'
.../lib/map/m_map.o(.m_ssi::TMap<TStr>::gnu.linkonce.t.Add(TSt r const
&, TStr const &)+0xf5):/home/casino/unix/../lib/map/m_map.h: undefined
reference to `__sjthrow'
.../lib/map/m_map.o(.m_ssi::TMap<TStr>::gnu.linkonce.t.Add(TSt r const
&, TStr const &)+0xff):/home/casino/unix/../lib/map/m_map.h: undefined
reference to `__terminate'
.../lib/map/m_map.o(.m_ssi::TList<m_ssi::TMapItem<TStr>
>::gnu.linkonce.t.Add(m_ssi::TMapItem<TStr> *)+0xa):/home/casino/

unix/../lib/map/m_map.h: undefined reference to `__get_eh_context'
.../lib/map/m_map.o(.m_ssi::TList<m_ssi::TMapItem<TStr>
>::gnu.linkonce.t.Add(m_ssi::TMapItem<TStr> *)+0x2c):/home/casino/

unix/../lib/map/m_map.h: undefined reference to `__builtin_new'
.../lib/map/m_map.o(.m_ssi::TList<m_ssi::TMapItem<TStr>
>::gnu.linkonce.t.Add(m_ssi::TMapItem<TStr> *)+0x99):/home/casino/

unix/../lib/map/m_map.h: undefined reference to `__builtin_delete'

.../lib/sql/mSQL.o(.text+0x1178): In function
`m_classes::TQuery::selectSql(TStr
const &, TStr const &, TStr const &, TStr const &, TStr const &)':
/home/casino/unix/../lib/sql/mSQL.cpp:105: undefined reference to
`__get_eh_context'

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0