Anonymous wrote:
You may try the following trick:
- copy gmp.h to OpenBSD/include/gmp.h
- edit the copy and remove all lines containing __GMP_DECLSPEC_XX
- change IntegerProgramming/si_gmp.h  factory/cf_gmp.h  kernel/si_gmp.h
   to the single line:
   #include <gmp.h>
and recompile.
Hope that helps,
Hans Schoenemann, Singular team
It worked!  Nice "trick". 
Thanks Hans.
ESingular works fine but Singular confuses me with this log
bash-3.1$ ./Singular
                     SINGULAR                             /  Development
 A Computer Algebra System for Polynomial Computations   /   version 3-0-2
                                                       0<
     by: G.-M. Greuel, G. Pfister, H. Schoenemann           July 2006
FB Mathematik der Universitaet, D-67653 Kaiserslautern    
// ** executing /home/eraudag/eraudag/proj/temp/byggen/Singular-3-0-2/LIB/.singularrc
> 3+4;
Singular in free(): error: modified (chunk-) pointer
Singular : signal 6 (v: 3002/2006092109):
Segment fault/Bus error occurred (r:1158906107)
please inform the authors
trying to restart...
fatal flex scanner internal error--end of buffer missed
bash-3.1$
/Ulf D