Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 149167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:05:15+00:00 2026-05-11T09:05:15+00:00

The problem is that the compiler says that there is a redefinition of a

  • 0

The problem is that the compiler says that there is a redefinition of a function between a library that belongs to MySQL and math.h from the std library.

I have been over this for two days and I still can’t figure it out.

Has this ever happened to anyone?

This is the output from the compiler


 C:\mingw\bin\mingw32-make.exe all  'Building file: ../src/interfaz/ventanaconf.cpp' 'Invoking: GCC C++ Compiler' C:\mingw\bin\mingw32-g++.exe -mms-bitfields -I'c:\dev-cpp\gtkmm\include\gtkmm-2.4'  -I'c:\dev-cpp\gtkmm\lib\gtkmm-2.4\include' -I'c:\dev-cpp\gtkmm\include\glibmm-2.4'  -I'c:\dev-cpp\gtkmm\lib\glibmm-2.4\include' -I'c:\dev-cpp\gtkmm\include\gdkmm-2.4'  -I'c:\dev-cpp\gtkmm\lib\gdkmm-2.4\include' -I'c:\dev-cpp\gtkmm\include\pangomm-1.4'  -I'c:\dev-cpp\gtkmm\include\atkmm-1.6' -I'c:\dev-cpp\gtkmm\include\sigc++-2.0'  -I'c:\dev-cpp\gtkmm\lib\sigc++-2.0\include' -I'c:\dev-cpp\gtkmm\include\cairomm-1.0'  -I'c:\gtk\include\gtk-2.0'  -I'c:\gtk\include\glib-2.0'  -I'c:\gtk\lib\glib-2.0\include'  -I'c:\gtk\lib\gtk-2.0\include'  -I'c:\gtk\include\pango-1.0'  -I'c:\gtk\include\cairo'  -I'c:\gtk\include\freetype2'  -I'c:\gtk\include'  -I'c:\gtk\include\atk-1.0'  -I'c:\Archivos de programa\MySQL\MySQL Server 5.0\include'  -O0 -g3 -w -c -fmessage-length=0 -MMD -MP -MF'src/interfaz/ventanaconf.d'  -MT'src/interfaz/ventanaconf.d'  -o'src/interfaz/ventanaconf.o' '../src/interfaz/ventanaconf.cpp' In file included from c:/Archivos de programa/MySQL/MySQL Server 5.0/include/my_global.h:73,                  from ../src/interfaz/../gestiondb/gestordb.h:6,                  from ../src/interfaz/../gestiondb/operacionesdb.h:5,                  from ../src/interfaz/ventanamodulos.h:20,                  from ../src/interfaz/ventanaconf.h:27,                  from ../src/interfaz/ventanaconf.cpp:1: c:/Archivos de programa/MySQL/MySQL Server 5.0/include/config-win.h: **In function `double rint(double)': c:/Archivos de programa/MySQL/MySQL Server 5.0/include/config-win.h:228: error: redefinition of `double rint(double)' C:/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/math.h:620: **error: `double rint(double)' previously defined here** C:\mingw\bin\mingw32-make.exe: *** [src/interfaz/ventanaconf.o] Error 1** 

Thanks in advance!!!

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:05:16+00:00Added an answer on May 11, 2026 at 9:05 am

    The problem was about an included library, which linux simply ignores, but windows want out. There is no problem letting it out in linux neither…

    Somedays i feel SOOOOOOOOOOOOOOOOOOOOOOO STUPID:..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have encountered the strange problem, that linux c++ compiler includes the files from
This question was emerged from this question. The problem is that there is a
Below I've included my h file, and my problem is that the compiler is
The problem is that the Eclipse compiler do not see any layout or ids,
The problem that I have is somehow very specific. I have to implement a
I have a problem that I'm working on for quite some time now. I
I have an app that works fine in iOS 4, but there is a
I have the following problem: 1) There is some abstract class A with several
I'm making an app that creates new files, there's no problem when I name
I have downloaded an sample code, so there are some CString variables in that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.