List:GUI Tools« Previous MessageNext Message »
From:Jorge del Conde Date:November 6 2002 6:27am
Subject:Re: MySQLCC-0.8.6 dies on FreeBSD
View as plain text  
Hi!

----- Original Message -----
From: "Gerardo Enrique Paredes Mancia"
Sent: Tuesday, November 05, 2002 9:32 PM
Subject: Re: MySQLCC-0.8.6 dies on FreeBSD
>

> Hi
>
> On Tuesday 05 November 2002 21:05, Jorge del Conde wrote:
> > Hi!
> >
> > Ok, that appears to be because of a "not-so-smart" compiler :-)
> Indeed
<CUT>

 -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 `'
<CUT>

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

#ifdef DEBUG_LEVEL
#define DEBUG
#endif

yours should look as follows:

#undef DEBUG_LEVEL
#undef DEBUG

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
here.
>
> Any suggestions? i will try to compile again without the -g debugging
flags to
> 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!

Regards,
Jorge
--
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
       <___/   www.mysql.com


Thread
MySQLCC-0.8.6 dies on FreeBSDGerardo Enrique Paredes Mancia6 Nov
  • Re: MySQLCC-0.8.6 dies on FreeBSDJorge del Conde6 Nov
    • Re: MySQLCC-0.8.6 dies on FreeBSDGerardo Enrique Paredes Mancia6 Nov
    • Re: MySQLCC-0.8.6 dies on FreeBSDGerardo Enrique Paredes Mancia6 Nov
  • Re: MySQLCC-0.8.6 dies on FreeBSDJorge del Conde6 Nov
  • Re: MySQLCC-0.8.6 dies on FreeBSDJorge del Conde6 Nov