Well that was easy.
After reading your response I went back and used
gcc -fPIC -c xxx.cc
gcc -shared -o xxx.so xxx.o
and all was well again.
Thanks for your help..again.
Ollie
Dan Nelson said:
> In the last episode (Dec 11), Ollie Gallardo said:
>> I'm back with another question. I tried to comp
In the last episode (Dec 11), Ollie Gallardo said:
> I'm back with another question. I tried to compile my UDF with the gcc on
> my Opteron system and I got errors.
> Errors:
> /usr/lib64/gcc-lib/amd64-mandrake-linux-gnu/3.3.1/../../../../lib64/crt1.o(.text+0x21):
> In function `_start':
> ../sysd
I'm back with another question. I tried to compile my UDF with the gcc on
my Opteron system and I got errors.
Errors:
/usr/lib64/gcc-lib/amd64-mandrake-linux-gnu/3.3.1/../../../../lib64/crt1.o(.text+0x21):
In function `_start':
../sysdeps/x86_64/elf/start.S:92: undefined reference to `main'
/root/
Thanks Dan. I will get to it then.
Dan Nelson said:
> In the last episode (Dec 11), Ollie Gallardo said:
>> I just recently built myself a dual Opteron system and installed mysql
>> for AMD64 on it. I previously ran my databases on regular 32 bit
>> systems and had my UDF working fine. The UDF is w
In the last episode (Dec 11), Ollie Gallardo said:
> I just recently built myself a dual Opteron system and installed
> mysql for AMD64 on it. I previously ran my databases on regular 32
> bit systems and had my UDF working fine. The UDF is written in C.
> Before I try and install the UDF on the ne
Hi,
I just recently built myself a dual Opteron system and installed mysql for
AMD64 on it. I previously ran my databases on regular 32 bit systems and
had my UDF working fine. The UDF is written in C. Before I try and install
the UDF on the new system should I recompile it using AMD64 libraries?