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.
Dan Nelson said:
> 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.
>> In function `_start':
>> ../sysdeps/x86_64/elf/start.S:92: undefined reference to `main'
> What is your gcc line? The above error indicates that you are trying to
> build an executable. UDFs must be shared object files.
> Dan Nelson
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: http://lists.mysql.com/mysql?unsub=1
Support Services Inc
2 Professional Dr Ste 212
Gaithersburg MD 20879