[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Linking error: collect2: ld returned 1 exit status
From: |
Marcus G. Daniels |
Subject: |
Re: [Swarm-Support] Linking error: collect2: ld returned 1 exit status |
Date: |
Tue, 23 Nov 2004 18:20:26 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (Windows/20041103) |
Crile Doscher wrote:
No previous errors at least that I can see, though there are a few
warnings. If it will help, here's all the make output:
The lines below are all errors. Perhaps you have ElevCell or
CellSurvace twice in your Makefile?
ModelSwarm.o(.text+0x1510):ModelSwarm.m: multiple definition of
`___objc_class_name_ElevCell'
main.o(.text+0xaac):main.m: first defined here
ModelSwarm.o(.text+0x150c):ModelSwarm.m: multiple definition of
`___objc_class_name_CellSurface'
main.o(.text+0xaa8):main.m: first defined here
ObserverSwarm.o(.text+0x1650):ObserverSwarm.m: multiple definition of
`___objc_class_name_ElevCell'
main.o(.text+0xaac):main.m: first defined here
ObserverSwarm.o(.text+0x164c):ObserverSwarm.m: multiple definition of
`___objc_class_name_CellSurface'
main.o(.text+0xaa8):main.m: first defined here
Cell.o(.text+0xf00):Cell.m: multiple definition of
`___objc_class_name_ElevCell'
main.o(.text+0xaac):main.m: first defined here
Cell.o(.text+0xefc):Cell.m: multiple definition of
`___objc_class_name_CellSurface'
main.o(.text+0xaa8):main.m: first defined here
CellSurface.o(.text+0x96c):CellSurface.m: multiple definition of
`___objc_class_name_ElevCell'
main.o(.text+0xaac):main.m: first defined here
CellSurface.o(.text+0x968):CellSurface.m: multiple definition of
`___objc_class_name_CellSurface'
main.o(.text+0xaa8):main.m: first defined here
Cumec.o(.text+0xab0):Cumec.m: multiple definition of
`___objc_class_name_ElevCell'
main.o(.text+0xaac):main.m: first defined here
Cumec.o(.text+0xaac):Cumec.m: multiple definition of
`___objc_class_name_CellSurface'
The other messages:
Eneighbor.m: In function `-[Eneighbor next:]':
Eneighbor.m:27: warning: `nextNeighbor' might be used uninitialized in
this function
Eneighbor.m: In function `-[Eneighbor previous:]':
Eneighbor.m:50: warning: `previousNeighbor' might be used uninitialized
in this function
..are worth looking into, as they could be logic errors that may cause
your program to malfunction, but are not fatal unless you compiled with
-Werror.