List:General Discussion« Previous MessageNext Message »
From:Ollie Gallardo Date:December 12 2003 1:10pm
Subject:Re: UDF on AMD64
View as plain text  
Well that was easy.
After reading your response I went back and used
gcc -fPIC -c
gcc -shared -o 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.
>> Errors:
>> /usr/lib64/gcc-lib/amd64-mandrake-linux-
>> 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
> 	dnelson@stripped
> --
> MySQL General Mailing List
> For list archives:
> To unsubscribe:

Ollie Gallardo
Support Services Inc
2 Professional Dr Ste 212
Gaithersburg MD 20879

UDF on AMD64Ollie Gallardo11 Dec
  • Re: UDF on AMD64Dan Nelson11 Dec
    • Re: UDF on AMD64Ollie Gallardo11 Dec
    • Re: UDF on AMD64Ollie Gallardo12 Dec
      • Re: UDF on AMD64Dan Nelson12 Dec
        • Re: UDF on AMD64Ollie Gallardo12 Dec