On Thu, Oct 9, 2008 at 10:49 PM, Amit k. Saha <[EMAIL PROTECTED]> wrote:
> Hi Anil,
>
>
> On Thu, Oct 9, 2008 at 9:26 PM, Anil Gulecha <[EMAIL PROTECTED]> wrote:
>> Hey Amit,
>>
>> This occurs at times when one of the parameters passed to the compiler
>> shouldnt be... the gcccommand will thus fail.
>>
>> Take a look at config.log that is generated by configure.. you'll find
>> the exact arguments that were passed and the C file that failed. This
>> will tell you what to remove (either from CFLAGS or LDFLAGS)
>
> This is the relevant portion of the log:
>
> configure:4210: checking for C compiler default output file name
> configure:4213: gcc conftest.c >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status
> configure:4216: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "mysql"
> | #define VERSION "6.0.6-alpha"
> | #define HAVE_CHARSET_latin1 1
> | #define HAVE_CHARSET_latin1 1
> | #define HAVE_CHARSET_utf8mb4 1
> | #define USE_MB 1
> | #define USE_MB_IDENT 1
> | #define HAVE_CHARSET_utf8mb3 1
> | #define USE_MB 1
> | #define USE_MB_IDENT 1
> | #define MYSQL_DEFAULT_CHARSET_NAME "latin1"
> | #define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
> | #define HAVE_UCA_COLLATIONS 1
> | #define PROTOCOL_VERSION 10
> | #define DOT_FRM_VERSION 6
> | #define SYSTEM_TYPE "pc-solaris2.11"
> | #define MACHINE_TYPE "i386"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:4255: error: C compiler cannot create executables
> See `config.log' for more details.
>
> What does it say?
>
> Best,
> Amit
>
This is the part thats causing the issue.
>/usr/bin/ld: crt1.o: No such file: No such file or directory
>collect2: ld returned 1 exit status
Looks like the linker flags ($LDFLAGS) are unsupported.. grep for
LDFLAGS and see if they have something solaris cant understand.
Are you building this from direct source/ or via an upstream debian source?
Anil
_______________________________________________
gnusol-users mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-users