Error while compiling a Objective C code

2009-01-22 Thread Gupta, Arjit (HP Labs India)
Sir, 

I have been getting an error 
/mingw/lib/libmingw.amain.o:main.c:.text+0xbd:Undefined refrence to nm...@16
Collect2 :Id returned 1 exitstatus

I am not able to compile a simple objective C class main the main.

Thanks, 
Arjit

___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: Error while compiling a Objective C code

2009-01-22 Thread Fred Kiefer
Gupta, Arjit (HP Labs India) wrote:
 I have been getting an error 
 /mingw/lib/libmingw.amain.o:main.c:.text+0xbd:Undefined refrence to 
 nm...@16
 Collect2 :Id returned 1 exit  status
 
 I am not able to compile a simple objective C class main the main.

Hello and welcome to this list.

To help you with your problem you probably will need to provide more
information. Is this plain Objective-C or a GNUstep program? And how are
you building it, with GNUstep make or on your own?

You also should show the code of this program and explain a bit about
the setup of the system you are using. MinGW from GNUstep Startup or
self installed with which version of gcc?

Cheers,
Fred


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: Error while compiling a Objective C code

2009-01-22 Thread Riccardo Mottola
Hi,

what are you trying to achieve and where?

the gnustep windows installer comes with a fully functional environment
where make of a gnustep project (both a tool or an application) will work.

Thus I suppose that you are doing soemthing in a diffferent way.

A nonworking or differenlty set up MinGW environment?
Or an obj-c program without using gnustep-make, which does all the linking
and library job for you?

--Riccardo

- Original Message - 
From: Gupta, Arjit (HP Labs India) arjit.gu...@hp.com
To: gnustep-dev@gnu.org
Sent: Thursday, January 22, 2009 7:25 AM
Subject: Error while compiling a Objective C code


Sir,

I have been getting an error
/mingw/lib/libmingw.amain.o:main.c:.text+0xbd:Undefined refrence to
nm...@16
Collect2 :Id returned 1 exit status

I am not able to compile a simple objective C class main the main.

Thanks,
Arjit

___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev



___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


Re: Gnustep-dev Digest, Vol 74, Issue 16

2009-01-22 Thread Christopher Armstrong

Hi

Could you please post:

* a copy of the source code file you were compiling
* a copy of the GNUmakefile you were using to compile with
* the command that you executed the compiler with in order to compile  
the program


Cheers
Chris

On 23/01/2009, at 4:01 AM, Gupta, Arjit (HP Labs India) wrote:



I have been getting an error
/mingw/lib/libmingw.amain.o:main.c:.text+0xbd:Undefined refrence  
to nm...@16

Collect2 :Id returned 1 exitstatus

I am not able to compile a simple objective C class main the main.



Christopher Armstrong
carmstr...@fastmail.com.au







___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev