473,671 Members | 2,340 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem in makefile

i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to me.............

ramesh......... ...

Jun 18 '07 #1
9 1751
<ra**********@g mail.comschrieb im Newsbeitrag
news:11******** *************@o 11g2000prd.goog legroups.com...
>i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to me.............
Wrong group, ask in comp.unix.progr ammer

Bye, Jojo
Jun 18 '07 #2
Joachim Schmitz said:
<ra**********@g mail.comschrieb im Newsbeitrag
news:11******** *************@o 11g2000prd.goog legroups.com...
>>i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to
me............ .
Wrong group,
Only if it really is a makefile issue. It may be a C issue yet.
ask in comp.unix.progr ammer
Not necessarily. Unix is not the only platform where makefiles are used.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Jun 18 '07 #3
"Richard Heathfield" <rj*@see.sig.in validschrieb im Newsbeitrag
news:D_******** *************@b t.com...
Joachim Schmitz said:
><ra**********@ gmail.comschrie b im Newsbeitrag
news:11******* **************@ o11g2000prd.goo glegroups.com.. .
>>>i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to
me........... ..
Wrong group,

Only if it really is a makefile issue. It may be a C issue yet.
Maybe, but no indication yet.
>ask in comp.unix.progr ammer
Not necessarily. Unix is not the only platform where makefiles are used.
True, but in comp.unix.progr ammer most people use make, so have the
knowledge to deal with makefile problems.

Bye, Jojo
Jun 18 '07 #4
Joachim Schmitz wrote:
"Richard Heathfield" <rj*@see.sig.in validschrieb im Newsbeitrag
news:D_******** *************@b t.com...
>Joachim Schmitz said:
>><ra********** @gmail.comschri eb im Newsbeitrag
news:11****** *************** @o11g2000prd.go oglegroups.com. ..
i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to
me.......... ...
[...]
>>ask in comp.unix.progr ammer
Not necessarily. Unix is not the only platform where makefiles are used.
True, but in comp.unix.progr ammer most people use make, so have the
knowledge to deal with makefile problems.
By that logic, the question is appropriate here, too.
--
clvrmnky <mailto:sp***** *@clevermonkey. org>

Direct replies will be blacklisted. Replace "spamtrap" with my name to
contact me directly.
Jun 18 '07 #5
Clever Monkey said:
Joachim Schmitz wrote:
>"Richard Heathfield" schrieb...
>>Joachim Schmitz said:
<ra********* *@gmail.comschr ieb...
i wrote one makefile but it shows multiple definition error how
can i resolve that problem it is urgent to me please help to
me......... ....
[...]
>>>ask in comp.unix.progr ammer
Not necessarily. Unix is not the only platform where makefiles are
used.
True, but in comp.unix.progr ammer most people use make, so have the
knowledge to deal with makefile problems.
By that logic, the question is appropriate here, too.
....which leads us to deduce that the logic is wrong.

The syntax of makefiles varies depending on the make utility being used.
Various such utilities exist, with various syntax rules. The question
properly belongs in a newsgroup devoted to programming on the
particular platform being used (unless it does actually turn out to be
a C question, which we don't yet know).

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Jun 18 '07 #6
On Mon, 18 Jun 2007 12:57:40 +0000, in comp.lang.c , Richard
Heathfield <rj*@see.sig.in validwrote:
>Joachim Schmitz said:
><ra**********@ gmail.comschrie b im Newsbeitrag
news:11******* **************@ o11g2000prd.goo glegroups.com.. .
>>>i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to
me........... ..
Wrong group,

Only if it really is a makefile issue. It may be a C issue yet.
>ask in comp.unix.progr ammer

Not necessarily. Unix is not the only platform where makefiles are used.
Can I suggest that rather than posting contradictions without
information, we all try to post info as well? The above from Richard
is negatively beneficial to the OP who now has no idea where to go for
help.

To the OP: look for a group which specialises in your compiler or
platform, and ask there. Make comes in many flavours and tehy don't
operate the same.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Jun 18 '07 #7
ra**********@gm ail.com wrote:
i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to me.............

ramesh......... ...
ramesh:

How are we supposed to know what is wrong since you do not tell us
the error message???

Are we supposed to read your brain?

In that case please take a knife, open your brain and send it
as an attachement to your message :-)

jacob
Jun 18 '07 #8
ra**********@gm ail.com wrote:
i wrote one makefile but it shows multiple definition error how can i
resolve that problem it is urgent to me please help to me.............
Do you still have the problem if you don't use a makefile? That is,
compile and link solely with your base tool set?


Brian
Jun 18 '07 #9
ra**********@gm ail.com wrote:
>
i wrote one makefile but it shows multiple definition error how
can i resolve that problem it is urgent to me please help to me.
You have an error in line 42.

--
<http://www.cs.auckland .ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfoc us.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
cbfalconer at maineline dot net

--
Posted via a free Usenet account from http://www.teranews.com

Jun 19 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3628
by: smsabu2002 | last post by:
Hi, I am facing the build problem while installing the DBD-MySql perl module (ver 2.9008) using both GCC and CC compilers in HP-UX machine. For the Build using GCC, the compiler error is produced due to the unknown GCC compiler option "+DAportable". For the Build using CC, the preprocessor error is produced due to the recursive declration of macro "PerlIO" in perlio.h file.
2
1439
by: Ralf Propach | last post by:
I have a visual studio 2005 project that consists of two managed C++ classes and some unmanaged C functions. The output of this project is a dll, that is loaded by a program with LoadLibrary(). Then I have written a makefile that uses the same compiler and linker options to generate this dll. Now the dll created by the project works fine while the dll from the makefile refuses to load (GetLastError returns 126, file not found). In both...
1
5440
by: Arsalan Ahmad | last post by:
Hi all, I am trying to compile some source files using makefile. While compiling I am getting errors as shown below. Any idea how can I solve this problem. I believe I need to add some preprocessor directives but I dont know which one. Thanks, Arsalan
3
3389
by: abhi | last post by:
I am using MinGW compiler for creating a Chat Client in C. Whenever i use any function of winsock2, my program does not compile and it gives linker Error. What could be wrong? I have included winsock2.h in my program. Here is Error Message ---------------------------------------------------------------------------- Compiler: Default compiler
6
1896
by: dolphin | last post by:
Hi! I am learing makefile recently.Now I have a problem. I write a very simple program just like "hello world" I write two makefile for it.One is included in another. the first is makefile include mainmake.mk example:main.o cc -o example main.o clean: rm -f *.o
1
2055
by: %NAME% | last post by:
I wish to put a number of .db2 scripts in my makefile. However, some of the db2 scripts tries to revoke privileges from users that might do not have that privilege already, thus returns an error to the shell. I do not want the makefile to stop there, but simply ignore the errors. For example, I have the following in my makefile run:
4
3952
by: Jess | last post by:
Hello, I am now trying to use makefile to compile C++ programs. My makefile looks like: f1.o : f1.cpp h1.h h2.h g++ -c f1.cpp f2.o : f2.cpp h2.h h3.h g++ -c f2.cpp
1
1497
by: Sejoro | last post by:
I fixed the operand problem (thanks) and now a new one has risen up. I have to compile it with a makefile which I have made and I am getting more strange errors I don't know how to fix. Well, first of all, I don't know how to open a file in one function and use the same ifstream in another function in a separate file. And second of all, I keep getting the following error: Undefined first referenced symbol ...
19
4393
by: foolsmart2005 | last post by:
I have written a snake game. There are 2 levels in the game(I finished 1st level). It can run in VC++ without problem but, when I run it on the dev C++ 4.9.9.2, it cannot run. I want to practice my programming in Dev C++ rather than in VC++. What can I do now? The Game: --- writing a snake game using color console window. 1-player game. The player makes use of 4 arrow keys to operate the movement to chase and eat as much food (#)...
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5692
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2048
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.