From: <t5...@ya...> - 2001-09-26 08:46:37
|
dear all, i try to compile c source file that connect to mysql server i'm using mysql for win and mingw compiler with Dev-c++ as IDE. when i compile it (using libmysql.lib as library), i got this messeges on linker msg: f:\desktop\mysqlc\m.o(.text+0x78):m.c: undefined reference to `mysql_connect@16' f:\desktop\mysqlc\m.o(.text+0x9b):m.c: undefined reference to `mysql_close@4' f:\desktop\mysqlc\m.o(.text+0xb0):m.c: undefined reference to `mysql_error@4' when i compile it (using mysqlclient.lib as library), i got this messeges on linker msg: C:\DEV-C_~1\Bin\ld.exe: F:\desktop\mysqlc\mysqlclient.lib(./release/libmysql.obj): warning: ignoring duplicate section `.text' C:\DEV-C_~1\Bin\ld.exe: F:\desktop\mysqlc\mysqlclient.lib(./release/libmysql.obj): warning: ignoring duplicate section `.text' ... ... ... buit i got exe file, when i try run it, i got an error.. please help me thx _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: dario g. <of...@ya...> - 2005-04-16 23:25:17
|
Hi, I´m new at the list. I woould like to know if you can help with this. When I compile the project (any) i got this message: 'all-before' does not exist - don't know to make it. Anyone can give me a hand??? Thanks... __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar |
From: Verne H. B. <ve...@sy...> - 2005-04-17 14:49:23
|
Need a sample in order to help you! Verne ----- Original Message -----=20 From: dario griffo=20 To: dev...@li...=20 Sent: Saturday, April 16, 2005 7:25 PM Subject: [Dev-C++] Linking error Hi, I=B4m new at the list. I woould like to know if you can help with this. When I compile the project (any) i got this message: 'all-before' does not exist - don't know to make it. Anyone can give me a hand??? Thanks... __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam =A1gratis!=20 =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar |
From: Martin P. <mar...@gm...> - 2005-04-17 15:20:53
|
Hey, Couldn't this be missing rule how to make 'all-before' part of the=20 project in the makefile? If all-before is required in some other section=20 of the makefile but there is no section describing how to make this=20 part, then make (not linker) fails as it doesn't know what to do. Martin Verne H. Bohlender wrote: > *Need a sample in order to help you!* > *Verne* >=20 > ----- Original Message ----- > *From:* dario griffo <mailto:of...@ya...> > *To:* dev...@li... > <mailto:=09 > *Sent:* Saturday, April 16, 2005 7:25 PM > *Subject:* [Dev-C++] Linking error >=20 > Hi, I=B4m new at the list. > I woould like to know if you can help with this. > When I compile the project (any) i got this message: > 'all-before' does not exist - don't know to make it. > Anyone can give me a hand??? > Thanks... >=20 > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam =A1gratis! > =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar >=20 |
From: <of...@ya...> - 2005-04-17 16:30:51
|
I tried to compile the example hello project and I had that problem. So = I coud not compile anithing else. But, if I compile in console mode by g++ hello.cpp It works ----- Original Message -----=20 From: Verne H. Bohlender=20 To: Dev C++ ; dario griffo=20 Sent: Sunday, April 17, 2005 11:49 AM Subject: Re: [Dev-C++] Linking error Need a sample in order to help you! Verne ----- Original Message -----=20 From: dario griffo=20 To: dev...@li...=20 Sent: Saturday, April 16, 2005 7:25 PM Subject: [Dev-C++] Linking error Hi, I=B4m new at the list. I woould like to know if you can help with this. When I compile the project (any) i got this message: 'all-before' does not exist - don't know to make it. Anyone can give me a hand??? Thanks... __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam =A1gratis!=20 =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar |
From: Verne H. B. <ve...@sy...> - 2005-04-17 18:50:02
|
Of course! If anyone is trying to compile C++ code under a Window set = up it just won't work. Windows is completely different. Verne ----- Original Message -----=20 From: Dar=EDo=20 To: Dev C++=20 Sent: Sunday, April 17, 2005 12:30 PM Subject: Re: [Dev-C++] Linking error I tried to compile the example hello project and I had that problem. = So I coud not compile anithing else. But, if I compile in console mode by g++ hello.cpp It works ----- Original Message -----=20 From: Verne H. Bohlender=20 To: Dev C++ ; dario griffo=20 Sent: Sunday, April 17, 2005 11:49 AM Subject: Re: [Dev-C++] Linking error Need a sample in order to help you! Verne ----- Original Message -----=20 From: dario griffo=20 To: dev...@li...=20 Sent: Saturday, April 16, 2005 7:25 PM Subject: [Dev-C++] Linking error Hi, I=B4m new at the list. I woould like to know if you can help with this. When I compile the project (any) i got this message: 'all-before' does not exist - don't know to make it. Anyone can give me a hand??? Thanks... __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam =A1gratis!=20 =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar |
From: Per W. <pw...@ia...> - 2005-04-17 19:59:22
|
Que? Just about every user of this list (you know Dev-Cpp users...) are using Windows builds. Normally the Makefile has a line: =2EPHONY: all all-before all-after clean clean-custom This informs make that if an explicit rule doesn't exist for all-before, then it may just ignore such a rule and define it as already processed. By the way - what's wrong with using normal text mails to this list? Everyone isn't using html mail clients! /Per W On Sun, 17 Apr 2005, Verne H. Bohlender wrote: > Of course! If anyone is trying to compile C++ code under a Window set up= it just won't work. Windows is completely different. > Verne > ----- Original Message ----- > From: Dar=EDo > To: Dev C++ > Sent: Sunday, April 17, 2005 12:30 PM > Subject: Re: [Dev-C++] Linking error > > > I tried to compile the example hello project and I had that problem. So= I coud not compile anithing else. > But, if I compile in console mode by g++ hello.cpp It works > ----- Original Message ----- > From: Verne H. Bohlender > To: Dev C++ ; dario griffo > Sent: Sunday, April 17, 2005 11:49 AM > Subject: Re: [Dev-C++] Linking error > > > Need a sample in order to help you! > Verne > ----- Original Message ----- > From: dario griffo > To: dev...@li... > Sent: Saturday, April 16, 2005 7:25 PM > Subject: [Dev-C++] Linking error > > > Hi, I=B4m new at the list. > I woould like to know if you can help with this. > When I compile the project (any) i got this message: > 'all-before' does not exist - don't know to make it. > Anyone can give me a hand??? > Thanks... > __________________________________________________ > Correo Yahoo! > Espacio para todos tus mensajes, antivirus y antispam =A1gratis! > =A1Abr=ED tu cuenta ya! - http://correo.yahoo.com.ar > |