bugGNUstep - Bugs: bug #10816, Can't build palettes on win32

Group
 
 

bug #10816: Can't build palettes on win32

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Thu 28 Oct 2004 03:28:31 AM UTC
   
 
Category:  Makefiles Severity:  4 - Important
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  nico
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Mar 2005 10:05:40 AM UTC, comment #5: 

This works now.

Thanks

Nicola Pero <nico>
Group Member
Thu 10 Mar 2005 06:15:21 PM UTC, comment #4: 

Just hijacked this bug -- I'll be looking at that. :-)

Having Gorm (including palettes etc) build on Windows is my next task (when I get another evening/night for this, probably next week).

Thanks

Nicola Pero <nico>
Group Member
Mon 08 Nov 2004 10:41:52 AM UTC, comment #3: 

Could somebody review all the standard makefiles for Win32?

I've tried to build all sorts of stuff on WinXP sp1 using the 1.10.0 and 1.10.1 installers, and builds generally fail as described. by GJC.  gnustep-gui and gnustep-back build; they have makefiles with special magic to create and use .DEF files and import libraries.

Simple apps that link only against standard libraries such as Foundation and AppKit do build.
gnustep-gui and gnustep-back build, and apparently have special magic in their makefiles to enable this.
Any other library, framework, aggregate or loadable bundle (eg: palette) appears not to build.

Part of the problem appears to be that import libraries for the DLLs exporting symbols referenced in the object being linked don't get seen, which generates the list of 'undefined reference' messages.
Another part seems to be that a .DEF file isn't generated automatically.
Another part seems to be that a .A file (import library) isn't generated automatically from the .DEF file.

[tip: loadable bundles will be .DLLs, but don't need matching .DEF or .A files]
[tip: On NeXT's OPENSTEP/Windows, you couldn't refer to symbols from one loadable bundle in another; the obvious thing to do is to move the commone code to a framework or other shared library, which is a nuisance; the subtler thing to do is weak-link, by using NSClassFromString() and lots and lots of casts.]


Patrick Middleton <patrickx>
Thu 28 Oct 2004 04:14:23 AM UTC, comment #2: 

It's definitely compiled.  It's probably not being exported properly.  I'd forgotten about this requirement on win32.  Thanks.

Gregory John Casamento <gcasa>
Group administrator
Thu 28 Oct 2004 03:38:33 AM UTC, comment #1: 

__objc_class_name_IBInspector usually means the the class IBInspector was not compiled at all or it is not being exported or we are not linking against all the libraries

Anonymous
Thu 28 Oct 2004 03:28:31 AM UTC, original submission:  

 Compiling file TestPalette.m ...
 Compiling file TestNonUIObject.m ...
 Compiling file TestView.m ...
 Linking palette Test ...
./shared_obj/TestInspector.o(.data+0x47c):TestInspector.m: undefined reference to `__objc_class_name_IBInspector'
./shared_obj/TestPalette.o(.text+0x3f4):TestPalette.m: undefined reference to `IBObjectPboardType'
./shared_obj/TestPalette.o(.data+0x564):TestPalette.m: undefined reference to `__objc_class_name_IBPalette'
collect2: ld returned 1 exit status
c:\GNUstep\Development\msys\1.0\mingw\bin\dllwrap.exe: no export definition file provided.
Creating one, but that may not be what you want
c:\GNUstep\Development\msys\1.0\mingw\bin\dllwrap.exe: gcc exited with status 1
make[1]: * [Test.palette/./Test.dll] Error 1
make: * [Test.all.palette.variables] Error 2


Gregory John Casamento <gcasa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-29 nico Open/ClosedOpen Closed
2005-03-19 kkerle Carbon-Copy- Added kkerle
2005-03-10 nico Item GroupChange Request Bug
    Assigned togcasa nico
2005-01-14 gcasa Assigned toNone gcasa

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code