Hi

While porting to an opteron 64bit computer, we noticed one
of our .so file was aborting. The problem was fixed by
adding a simple #include <re.h> to the .c file.

My question is, why is it required to include this file for opteron,
but not for the 32bit x86 machines. Without the include statement, I get
the error below on the 64 bit machine, but not on 32bit x86
or 64bit Solaris.

 uname -a
 Linux op2 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:32:58 EDT 2003 x86_64
 x86_64 x86_64 GNU/Linux

 make
 gcc -fPIC -O2 -g -pipe -Wall -fPIC -I.
 -I/usr/lib64/ruby/1.8/x86_64-linux-gnu
 -I/usr/lib64/ruby/1.8/x86_64-linux-gnu -I.   -c netlistparser.c
 netlistparser.c: In function `Init_netlistparser':
 netlistparser.c:113: warning: implicit declaration of function
 `rb_reg_regcomp'
 gcc -shared  -L"/usr/lib64" -o netlistparser.so netlistparser.o  -lruby
 -ldl -lcrypt -lm  -lc


-- 
Jim Freeze
A candidate is a person who gets money from the rich and votes from the
poor to protect them from each other.