gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gomd-devel] commoncpp2 problems


From: Johnny Cache
Subject: [gomd-devel] commoncpp2 problems
Date: Sun, 15 Jun 2003 16:01:16 -0500 (CDT)

Hey guys. I have the same problem with the thread.h syntax error thing.
After hours of mucking around i still cant get anything to compile.
i tweaked the Makefile a little to get psat the syntax errors (i think the
important two lines were these:)
Old
INCFLAGS=-I. -I/usr/local/include/cc++2/ -I/usr/include/cc++2/
LDFLAGS=-L/urs/lib -lccext2 -lccgnu2 -lm -lz -ldl -lxml2 -pthread
New:
INCFLAGS=-I. -I`ccgnu2-config --includes` -pipe -D_GNU_SOURCE
LDFLAGS=-L/usr/lib -lccext2 -lccgnu2 -lm -lz -ldl -lxml2 -pthread

That gets beyond the syntax issues. Now i am greeted with alot of this:

g++ -O3 -g -Wall -pedantic -L/urs/lib -lccext2 -lccgnu2 -lm -lz -ldl
-lxml2 -pthread -I. -I/usr/local/include/cc++2/ -I/usr/include/cc++2/
main.cpp syslogger.o utils.o requestRule.o requestHistory.o security.o
gomd2gomd.o gomd.o  -o gomd

/tmp/ccx7qXKC.o(.text+0x128c): In function `main':
/home/johnycsh/code/projects/gomd/daemon/security.h:36: undefined
reference to `ost::InetAddress::InetAddress(ost::InetAddrValidator const
*)'

/tmp/ccx7qXKC.o(.text+0x129d):/home/johnycsh/code/projects/gomd/daemon/security.h:36:
undefined reference to
`ost::InetAddress::InetAddress(ost::InetAddrValidator const *)'

I dont really understand what is causing this problem. I could be entirely
wrong but it looks like a problem with my commoncpp2 build. I've tried no
less that 2 gentoo ebuilds and rolling my own once. They all seem to work
successfully (although for somereason when i built my own it didnt come
with that handy ccgnu2-config program i referenced in the makefile)

Any suggestions ?
t.i.a.
-jc


On Sun, 15 Jun 2003, CaloRE wrote:

> Hi all, ...also i've the same problem :(
>
> Ciao, marco
> -----------------------------
> Linux Registered User #268548
> -----------------------------
> Per favore evitate l'uso di allegati in formato Word o PowerPoint.
> Si veda: http://www.fsf.org/philosophy/no-word-attachments.it.html
>
> On Fri, 13 Jun 2003 12:05:22 +0200
> address@hidden (Matthias Rechenburg) wrote:
> > Hi JP,
> >
> > i checked out the new code right now but
> > currently got an error while compiling the gomd.
> >
> > ...e/cc++2/ security.cpp -o security.o
> > In file included from /usr/local/include/cc++2/cc++/socket.h:54,
> >                  from security.h:18,
> >                  from security.cpp:16:
> > /usr/local/include/cc++2/cc++/thread.h:318: syntax error before `;'
> > make: *** [security.o] Fehler 1
> >
> > I also updated my commoncpp to the latest commoncpp2-1.0.12 but
> > the same result. Any hints for stupid Matt ?
> > (the commoncpp is installed correctly in /usr/loca/lib + /usr/local/include
> > and at least the error message points that the bug is in the commoncpp)
> > Maybe the node i am developing on is "too bad" ;)
> >
> >
> > have a nice day,
> >
> > Matt
> >
> > On Freitag 13 Juni 2003 00:29, Gian Paolo Ghilardi wrote:
> > > Hi all.
> > >
> > > I've reworked a lot of code for libgomd.
> > >
> > > How to test the new code (just an oM node is required).
> > >
> > > - Update your local CVS.
> > > - Enter $CVSROOT/gomd/daemon, compile the daemon and launch it (make clean
> > > && make && ./gomd -nd)
> > > - Enter $CVSROOT/gomd/lib
> > > - Edit file libgomd.cpp: at line 22 replace this IP with the IP of an host
> > > that's running gomd (in this case, the same pc). Do not enter "127.0.0.1"!
> > >
> > > :)
> > >
> > > - make
> > > - Enter  $CVSROOT/gomd/lib/examples
> > > - make
> > > - ./cppclient.app [NODE_ID]   (NODE_ID is the id of an oM node).
> > >
> > > If all goes right, the client connects to a gomd (via teh library) and
> > > returns the value for a node.
> > > Please test it. (NOTE: this is experimental code!!! :))) )
> > >
> > > BTW, I've found a bug for gomd: it uses a lot of resources! I'll
> > > investigate and look for a fix... :)
> > >
> > > Byez.
> > >
> > > <rejected>
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > gomd-devel mailing list
> > > address@hidden
> > > http://mail.nongnu.org/mailman/listinfo/gomd-devel
> >
> > --
> > E-mail      :  address@hidden
> > www : http://www.openmosixview.com
> > an openMosix-cluster management GUI
> >
> > "keyboard not found!  Press F1 to continue."
> >
> >
> >
> > _______________________________________________
> > gomd-devel mailing list
> > address@hidden
> > http://mail.nongnu.org/mailman/listinfo/gomd-devel
>
>
> _______________________________________________
> gomd-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gomd-devel
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]