gossip-general
[Top][All Lists]
Advanced

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

Fwd: problem compiling under cygwin


From: Stan Pinte
Subject: Fwd: problem compiling under cygwin
Date: Thu, 31 Oct 2002 11:22:18 +0100

here is what the make step produces:

g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE\ _STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gossip-sim\" -DVERSION=\"0.9.\ 0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1\ -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAV\ E_DLFCN_H=1 -I. -I. -I .. -I. -I/nonexistent/include -g -O2 -c init.cc -MT init\
.lo -MD -MP -MF .deps/init.TPlo  -DDLL_EXPORT -DPIC -o .libs/init.lo
In file included from dynblock.h:28,
                 from init.cc:26:
../gossip/sim.h:37: syntax error before `;' token
../gossip/sim.h:159: `sim_complex' was not declared in this scope
../gossip/sim.h:159: `var' was not declared in this scope
../gossip/sim.h:159: parse error before `char'
../gossip/sim.h:160: `sim_complex' was not declared in this scope
../gossip/sim.h:160: `var' was not declared in this scope
../gossip/sim.h:160: parse error before `char'
../gossip/sim.h:160: `void sim_comp::get(...)' and `bool sim_comp::get(...)'
   cannot be overloaded
../gossip/sim.h:169: `sim_complex' was not declared in this scope
../gossip/sim.h:169: `var' was not declared in this scope
../gossip/sim.h:169: parse error before `&' token
../gossip/sim.h:170: `bool sim_comp::get(...)' and `bool sim_comp::get(...)'
   cannot be overloaded
../gossip/sim.h:171: `sim_complex' was not declared in this scope
../gossip/sim.h:171: `var' was not declared in this scope
../gossip/sim.h:171: parse error before `&' token
../gossip/sim.h:171: `void sim_comp::get(...)' and `bool sim_comp::get(...)'
   cannot be overloaded
../gossip/sim.h:202: type specifier omitted for parameter `sim_complex'
../gossip/sim.h:202: parse error before `)' token
../gossip/sim.h:266: parse error before `*' token
../gossip/sim.h:267: parse error before `*' token
../gossip/sim.h:267: `virtual void sim_complex_comp::step(...)' and `virtual
   void sim_complex_comp::step(...)' cannot be overloaded
../gossip/sim.h:278: parse error before `*' token
../gossip/sim.h:279: parse error before `*' token
../gossip/sim.h:279: `virtual void sim_complex_int_comp::step(...)' and `
   virtual void sim_complex_int_comp::step(...)' cannot be overloaded
../gossip/sim.h:290: type specifier omitted for parameter `sim_complex'
../gossip/sim.h:290: parse error before `*' token
../gossip/sim.h:291: type specifier omitted for parameter `sim_complex'
../gossip/sim.h:291: parse error before `*' token
../gossip/sim.h:291: `virtual void sim_int_complex_comp::step(...)' and `
   virtual void sim_int_complex_comp::step(...)' cannot be overloaded
make[2]: *** [init.lo] Error 1
make[2]: Leaving directory `/usr/local/src/gossip-sim-0.9.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/src/gossip-sim-0.9.0/src'
make: *** [all-recursive] Error 1

Maybe I choosed the wrong option in my ./configure fix....

Stan.


Date: Thu, 31 Oct 2002 11:17:43 +0100
To: Marius Vollmer <address@hidden>
From: Stan Pinte <address@hidden>
Subject: problem compiling under cygwin
Cc: address@hidden

hello,

the following in the ./configure script poses me a problem:

echo "$as_me:$LINENO: checking how to build block programs" >&5
echo $ECHO_N "checking how to build block programs... $ECHO_C" >&6
case $host_os in
linux-gnu*)
  GOSSIP_BLOCK_LDFLAGS="-shared -export-dynamic";;
freebsdelf*)
  GOSSIP_BLOCK_LDFLAGS="-shared -export-dynamic";;
solaris*)
  GOSSIP_BLOCK_LDFLAGS="-G -export-dynamic";;
*)
  GOSSIP_BLOCK_LDFLAGS="unknown";;
esac
if test "$GOSSIP_BLOCK_LDFLAGS" = unknown; then
  echo "$as_me:$LINENO: result: no way" >&5
echo "${ECHO_T}no way" >&6
{ { echo "$as_me:$LINENO: error: I don't know how to build block programs on \
$host_os." >&5
echo "$as_me: error: I don't know how to build block programs on $host_os." >&2\
;}
   { (exit 1); exit 1; }; }
else
  echo "$as_me:$LINENO: result: $GOSSIP_BLOCK_LDFLAGS" >&5
echo "${ECHO_T}$GOSSIP_BLOCK_LDFLAGS" >&6
fi

checking how to build block programs... no way
configure: error: I don't know how to build block programs on cygwin.

I added the line

cygwin*)
  GOSSIP_BLOCK_LDFLAGS="-shared -export-dynamic";;

and now the ./configure is OK.

Stan.

Shall I send you a diff?





reply via email to

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