Mark Post wrote:

>/tmp/build-libsigc-1.0.4-s390-1/libsigc++-1.0.4/tests/signals/retbind_slot_t
>est.cc:25: undefined reference to `ostream::write(char const *, long)'

Could you check the source code at the given line?  I assume the
problem is that the second argument to ostream::write is supposed
to be of type 'streamsize' (which is typedef'd to 'ptrdiff_t', which
is equivalent to 'int' on s390), not 'long'.

'int' and 'long', while showing equivalent behaviour on s390, are
different types after all, and cause in particular different name
mangling when they occur as function argument, so that the function
won't be found by the linker.

Bye,
Ulrich

--
  Dr. Ulrich Weigand
  [EMAIL PROTECTED]

Reply via email to