Date: Sat, 23 Jul 2005 11:11:39 -0500 From: Jacob S <stormspotter@6Texans.net> To: Vinicius Pavanelli Vianna <ds@hacked.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: Mysql40-server installation problem Message-ID: <20050723111139.2c128f11@jacob.6texans.net> In-Reply-To: <42E26711.2030908@hacked.com.br> References: <20050722153540.2a74904b@jacob.6texans.net> <42E26711.2030908@hacked.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Jul 2005 12:49:37 -0300 Vinicius Pavanelli Vianna <ds@hacked.com.br> wrote: > Can u try to compile a program just to check if the compiler is ok? > maybe something with the linker? > > If you had not tried it make a smalll c program like: > > ---------- > #include <stdio.h> > #include <stdlib.h> > > int main() { > printf ("Hello\n"); > return 0; > } > --------- > > and compile it with something like "gcc -o x x.c" where x.c is this > file, from the config.log file there was no erro from the gcc, only > the exit code, so the output of gcc would be nice to check this > strange thing ;) On the problem server, this is all the information it gives: ~# gcc -v -o testc testc.c Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 Abort trap (core dumped) On a working server running the exact same version of FreeBSD (and cvsup'ed and world built at the same time) here's the output: # gcc -v -o testc testc.c Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 /usr/libexec/cc1 -quiet -v -D_LONGLONG testc.c -quiet -dumpbase testc.c -auxbase testc -version -o /var/tmp//ccGOYbxv.s ignoring duplicate directory "/usr/include" #include "..." search starts here: #include <...> search starts here: /usr/include End of search list. GNU C version 3.4.2 [FreeBSD] 20040728 (i386-fbsdproj-freebsd) compiled by GNU C version 3.4.2 [FreeBSD] 20040728. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 /usr/bin/as -v -o /var/tmp//ccJnU5Hg.o /var/tmp//ccGOYbxv.s GNU assembler version 2.15 [FreeBSD] 2004-05-23 (i386-obrien-freebsd) using BFD version 2.15 [FreeBSD] 2004-05-23 /usr/bin/ld -V -dynamic-linker /libexec/ld-elf.so.1 -o testc /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /var/tmp//ccJnU5Hg.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o GNU ld version 2.15 [FreeBSD] 2004-05-23 Supported emulations: elf_i386_fbsd Unfortunately it didn't give any kind of error number and that is as verbose as I was able to get it. Feel free to tell me more things to try if you think it will help. The problem server has cPanel installed, the good server does not. (I'm sure there's a lesson to be learned there...) Thanks, Jacob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050723111139.2c128f11>