----- Original Message -----
From: "Gerardo Enrique Paredes Mancia"
Sent: Tuesday, November 05, 2002 9:32 PM
Subject: Re: MySQLCC-0.8.6 dies on FreeBSD
> On Tuesday 05 November 2002 21:05, Jorge del Conde wrote:
> > Hi!
> > Ok, that appears to be because of a "not-so-smart" compiler :-)
-L/usr/X11R6/lib -L/usr/X11R6/lib /usr/local/lib/mysql/libmysqlclient.a
> -lqt-mt -lXext -lX11 -lm
> /usr/libexec/elf/ld: tmp/CConfigDialog.o: bad relocation section name `'
I have no idea why those error messages appear besides going for the
obvious: a compiler bug.
The only thing that comes to mind that could be responsible for this issue
is all the debug messages.
Edit the <include/config.h> file and turn off the debug messages:
the original file contains:
#define DEBUG_LEVEL 3
yours should look as follows:
try compiling again and please let me know if that fixes anything at all.
> tmp/CMDIWindow.o: file not recognized: File format not recognized
> gmake: *** [mysqlcc] Error 1
> somehow my gcc version 2.95.4 20020320 [FreeBSD] is producing bad code
> Any suggestions? i will try to compile again without the -g debugging
> see if gcc produces good code this time.
That one beats me ... maybe recompiling CMDIWindow.cpp will produce the
correct code ?
I also agree with trying to compile without -g nor any debugging flag, but I
can't say for sure :(
If you can't get it to compile with the above mods, I'll scale this problem
to one of our FreeBSD gurus!
For technical support contracts, visit https://order.mysql.com/?ref=mjdc
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Jorge del Conde <jorge@stripped>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Full-Time Developer
/_/ /_/\_, /___/\___\_\___/ Mexico City, Mexico