[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gomd-devel] Re: "../../libgomd.h" and /usr/include
From: |
Matthias Rechenburg |
Subject: |
[gomd-devel] Re: "../../libgomd.h" and /usr/include |
Date: |
Mon, 12 Apr 2004 19:36:50 +0000 |
User-agent: |
KMail/1.4.3 |
Hi JP, Matt here,
On Montag 12 April 2004 15:50, Gian Paolo Ghilardi wrote:
> Hi Matt.
>
> gomdview.h doesn't use libiface.h any more but libgomd.h (as now it uses
> static link to libgomd).
yes, i know, it is using ../../lib/libgomd.h which is not good ;)
It should use <libgomd.h>
If i change the sources of both, gomdview + gomdprocs they do
not compile any more because of the missing netCode.h.
As mentioned we need to provide all needed headers in
/usr/include at "make install". Then the user should be able
to juse #include <libgomd.h> ;)
> Try replacing libiface with libgomd in gomdprocs and make it works like
> gomdview:)))
yes, both using libgomd.h already ;)
we just need change them to #include <libgomd.h> instead
of (as currently) #include "../../lib/libgomd.h"
>
> Tell me if it works.
>
> I'm here :)
>
> Bye.
>
> <rejected>
;) thanks busy JP (no hurry)
Matt
>
>
> ----- Original Message -----
> From: "Matthias Rechenburg" <address@hidden>
> To: "Gian Paolo Ghilardi" <address@hidden>; "gomd developers mailing list"
> <address@hidden>
> Sent: Monday, April 12, 2004 7:47 PM
> Subject: "../../libgomd.h" and /usr/include
>
> > Hi again,
> >
> > have probs with the "make rpm" option (and maybe user will
> > also have problems to use the libgomd.h from /usr/include.
> >
> > If i put the libgomd.h in /usr/include (the install place) and use
> > it in souces it complaints about other missing header like e.g.
> > netCode.h. We will have to provide all needed headers in /usr/include (or
> > any other place) to fix this (to my mind)
> >
> > Includes must not be used as "../../libgomd.h" in our and should not be
>
> used
>
> > in the users code.
> >
> > here the compile-complaints if i include <libgomd.h> as it should be ;)
>
> c++ -I. -I.. -I/usr/lib/qt-3.1/include -I/usr/include/qt3 -I/usr/include/qt
>
> > -I/usr/X11R6/include -I/usr/include/cc++2 -O2 -O0 -g3 -Wall
> > -fno-check-new
>
> -c
>
> > gomdprocs.cpp
> > In file included from gomdprocs.h:67,
> > from gomdprocs.cpp:26:
> > /usr/include/libgomd.h:19:29: netCode.h: No such file or directory
> > In file included from gomdprocs.h:67,
> > from gomdprocs.cpp:26:
> > /usr/include/libgomd.h:31: 'netCode' is used as a type, but is not
> > defined
>
> as
>
> > a
> > type.
> > make[2]: *** [all] Error 1
> >
> > howdy,
> >
> > Matt
> > --
> > E-mail : address@hidden
> > www : http://www.openmosixview.com
> > an openMosix-cluster management GUI
> >
> >
> > .--.
> >
> > |o_o |
> > |
> > |:_/ |
> >
> > // \ \
> > (| | )
> > /'\_ _/`\ LINUX: the best text-adventure in the world
> > \___)=(___/
--
E-mail : address@hidden
www : http://www.openmosixview.com
an openMosix-cluster management GUI
Don't drink as root! ESC:wq
%
If a trainstation is the place where trains stop, what is a workstation?