gomd-devel
[Top][All Lists]
Advanced

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

Re: [gomd-devel] libgomd.h question


From: Matthias Rechenburg
Subject: Re: [gomd-devel] libgomd.h question
Date: Fri, 16 Apr 2004 10:42:46 +0000
User-agent: KMail/1.4.3

Hey Johnny,

On Freitag 16 April 2004 03:54, Johnny Cache wrote:
> Hi guys, ive been working on getting 3dmosmon on OSX and now that 3dmosmon
> itself compiles i was working on adding the gomd support (finally)
> anyway, i didnt get very far.

mhmm, strange compile error you got ;)
currently no clue but you may want to look at e.g. gomdview
(Makefile + inlcludes)
I had some funny problems with the common-c++ too which i could
solve by changing the sequence of includes (especiall the cc++ includes)
in the application header file.
Also i noitced that i had to change the openMosixview CFLAGS from
"CFLAGS=-O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new"
to 
"CFLAGS=-O2 -O0 -g3 -Wall -fno-check-new"
for gomdview (compiled against the libgomd)

hope it helps a bit ;) if you still have probs with 
it you may want us to check your source-code

all the best,

Matt

>
> Heres the offending line of code:
> #include "libgomd.h"
> And heres the error i get:
>
> In file included from /usr/local/include/cc++2/cc++/missing.h:49,
>                  from /usr/local/include/cc++2/cc++/socket.h:50,
>                  from /usr/include/libgomd.h:11,
>                  from
> /Users/johnnycache/projects/3dmosmon/include/DataGatherer.h:47,
>                  from
> /Users/johnnycache/projects/3dmosmon/include/BarManager.h:45,
>                  from
> /Users/johnnycache/projects/3dmosmon/src/3dmosmon.cpp:32:
>
> /usr/local/include/cc++2/cc++/strchar.h:111: error: declaration of C
> function `int ost::operator==(ost::keystring, const char*)' conflicts with
> /usr/local/include/cc++2/cc++/strchar.h:108: error: previous declaration
> `int ost::operator==(ost::keystring, ost::keystring)' here
> /usr/local/include/cc++2/cc++/strchar.h:117: error: declaration of C
> function `int ost::operator==(const char*, ost::keystring)' conflicts with
>
> The error message itself doesnt even make any sense. I mean, the functions
> it accuses of conflicting have different signatures? Very Confusing.
>
> Anyway after scratching my head  a while i just #include <cc++/strchar.h>
> instead of libgomd.h to see if i get any errors and it compiles fine.
>
> So, apparently, there is something libgomd.h that makes my compiler get
> confused but i have no idea what to even start looking for.
>
> The only hunches i have are
> 1) XCode compiles with gcc -x c++, not g++. So i changed the c++ example
> in gomd to use gcc -x c++ and it went just fine, so that doesnt seem to be
> it.
>
> 2) Well, actually thats it. i also tried commoncpp-1.1.0 and -1.1.1, same
> thing. But i ddnt really expect that to help.
>
>
> If anyone has any guesses at all please let mme know, this is driving me
> nuts.
>
> Im using gcc-3.3 on my powerbook, and it compiles the shared c++ exmaple
> just fine.
>
>
>
> Thanks
> -jc
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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

The important thing is not to stop questioning.





reply via email to

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