From: Dan Nelson Date: December 12 2003 6:06am Subject: Re: UDF on AMD64 List-Archive: http://lists.mysql.com/mysql/155541 Message-Id: <20031212060609.GO2435@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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': > ../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. http://www.mysql.com/doc/en/UDF_compiling.html -- Dan Nelson dnelson@stripped