[Pipet Users] need help compiling piper

Jean-Marc Valin valj01 at gel.usherb.ca
Sun Jul 29 23:08:42 EDT 2001


> It is indeed in /opt/overflow, I just checked.   In fact, I can run some
> overflow programs from /opt/overflow/bin, like vflow.  gflow crashes as soon
> as I start it.  And I see all the includes now, in
> /opt/overflow/include/overflow.  Maybe I can make it compile now :).

Since version 0.5.0, the Overflow include dir changed from $prefix/include to
$prefix/include/overflow. The reason for that is that it is now possible to set
$prefix to /usr without getting tons of includes into /usr/include (which then
causes problems when you want to install a newer version). This normally
shouldn't have broken the build if it was setup correctly. There is a shell
script called overflow-config (it works the same way as gnome-config) that
should return the right flags to put with Overflow. For example:
'overflow-config libflow --cflags' outputs:
-I/home/jm/maitrise/install/include/overflow

That way, whenever the directories change things keep working.

> panel-applet-dev package.  Ok, it goes further.  Bang, now I get this error:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/include -I../include
> -I/opt/omniORB/include -g -ggdb -D__x86__ -D__linux__ -Wall -I../src
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/usr/X11R6/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> -I/opt/overflow/include -I/usr/include/gnome-xml    -g -O2 -c
> plugin_sensor_PL_main.c
> In file included from /opt/overflow/include/rc_ptrs.h:31,
>                  from /opt/overflow/include/Object.h:7,
>                  from /opt/overflow/include/ParameterSet.h:8,
>                  from plugin_sensor_PL_main.c:15:
> /opt/overflow/include/BaseException.h: In method
> `ExceptionStack::~ExceptionStack()':
> /opt/overflow/include/BaseException.h:109: warning: comparison between signed
> and unsigned
> /opt/overflow/include/BaseException.h: In method `void
> ExceptionStack::print(ostream & = cerr)':
> /opt/overflow/include/BaseException.h:112: warning: comparison between signed
> and unsigned
> /opt/overflow/include/BaseException.h: In method `void
> ExceptionStack::freeze()':
> /opt/overflow/include/BaseException.h:118: warning: comparison between signed
> and unsigned
> In file included from /opt/overflow/include/ParameterSet.h:8,
>                  from plugin_sensor_PL_main.c:15:
> /opt/overflow/include/Object.h: At top level:
> /opt/overflow/include/Object.h:156: warning: `class _ObjectFactory' has
> virtual
> functions but non-virtual destructor
> In file included from /opt/overflow/include/ObjectRef.h:8,
>                  from plugin_sensor_PL_main.c:16:
> /opt/overflow/include/net_types.h:247: type/value mismatch at argument 1 in
> template parameter list for `template <class T> TypeTraits<T>'
> /opt/overflow/include/net_types.h:247:   expected a type, got `String'
> /opt/overflow/include/net_types.h:247: explicit specialization of
> non-template `{anonymous struct}'
> /opt/overflow/include/net_types.h:247: anonymous class type not used to
> declare
> any objects
> make[4]: *** [plugin_sensor_PL_main.o] Error 1

This problem is quite odd and I haven't figured out why it works on some
machines and not on others. What compiler are you using? For now, you can safely
comment line 247 in /opt/overflow/include/net_types.h and things are still going
to work.

	Jean-Marc




More information about the Pipet-Users mailing list