Greetings,
I have worked through a problem or two already and am faced by a situation
arising from multiple definitions of the same function in two different
source files.
As you can see from the output this is happening with ParseColourString and
GetColourByName. I looked in the files with the GetColourByName definitions
and and one appears to be a file that came with the source and the other
appears to be a file generated at runtime by the make procedure. I am
guessing I need to comment out the make generated definition, correct?
BTW I am running on Slackware 9.0 and have the latest successful build
snapshot for the Mahogany source.
==================================
util/miscutil.o(.text+0x0): In function `ParseColourString(wxString const&,
wxCo lour*)':
: multiple definition of `ParseColourString(wxString const&, wxColour*)'
util/ColourNames.o(.text+0x0): first defined here
util/miscutil.o(.text+0x158): In function `GetColourName(wxColour const&)':
: multiple definition of `GetColourName(wxColour const&)'
util/ColourNames.o(.text+0x158): first defined here
util/miscutil.o(.text+0x1f8): In function `GetColourByName(wxColour*, wxString
c onst&, wxString const&)':
: multiple definition of `GetColourByName(wxColour*, wxString const&, wxString
c onst&)'
util/ColourNames.o(.text+0x1f8): first defined here
/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../../i386-slackware-linux/bin
/ld: Warning: size of symbol `GetColourByName(wxColour*, wxString const&,
wxStri ng const&)' changed from 97 to 135 in
util/miscutil.o
collect2: ld returned 1 exit status
make[1]: *** [M] Error 1
make[1]: Leaving directory `/usr/local/mahogany-0.66/src'
make: *** [all] Error 2
==================================
--
From: Mark A Framness <[EMAIL PROTECTED]>
http: http://netnet.net/~farmer/index.html
With all of thy getting, get understanding!
Proverbs 4:7
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers