473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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'

Feb 23 '07 #1
0 2163

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Franit | last post by:
Hello, I am looking at tuning NUM_POOLAGENTS for many v7.x and v8.x UDB instances. Aside from logging into each instance and running 'db2 list applications', or writing a script to do so, is...
80
by: Christopher Benson-Manica | last post by:
Of course one can get the effect with appropriate use of existing operators, but a ^^ operator would make for nice symmetry (as well as useful to me in something I'm working on). Am I the only one...
3
by: serge | last post by:
How do I determine which method I should use if I want to optimize the performance of a database. I took Northwind's database to run my example. My query is I want to retrieve the Employees'...
4
by: serge | last post by:
I am running a query in SQL 2000 SP4, Windows 2000 Server that is not being shared with any other users or any sql connections users. The db involves a lot of tables, JOINs, LEFT JOINs, UNIONS...
4
by: =?Utf-8?B?VzFsZDBuZTc0?= | last post by:
When one architects a new project one of the first steps in the decision is to decide on the layers. (In my opinion anyway) One architecture that I have used before is to go solid OO and create...
2
by: axp | last post by:
I would like to display a Programmatically calculated field inside an access report. This means that for each section (or Person) the code needs to be run with different data in order to calculate...
169
by: JohnQ | last post by:
(The "C++ Grammer" thread in comp.lang.c++.moderated prompted this post). It would be more than a little bit nice if C++ was much "cleaner" (less complex) so that it wasn't a major world wide...
2
by: dbtwo | last post by:
Until today I always thought as long as you see a lot of logical reads as compared to physical reads, then you're good. But it looks like it isn't so. But doesn't logical read mean it's being read...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.