bugGNUstep - Bugs: bug #38859, GDL2 build failures on Apple...

Group
 
 

bug #38859: GDL2 build failures on Apple platforms

Submitter:  Graham Lee <leeg>
Submitted:  Tue 30 Apr 2013 02:32:54 PM UTC
   
 
Category:  gdl2 Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 17 Feb 2014 01:57:40 PM UTC, comment #4: 

Sorry for the delay in replying, Germán. Yes, all is fine for me there.

Graham Lee <leeg>
Sat 21 Dec 2013 07:53:12 AM UTC, comment #3: 

This line has been removed by Graham in a later revision, so I suppose this work for him now. And to my there isn't problem.

Graham?

Germán Arias <espectador>
Wed 01 May 2013 09:20:04 AM UTC, comment #2: 

Hi Matt,

thanks for the advice. Removing the EOAccess_LIBRARIES_DEPEND_UPON line is sufficient, so the ADDITIONAL_NATIVE_LIBS settings in the preamble are working. However, I don't know whether this would affect other platforms, so no patch yet:

The Target_LIBRARIES_DEPEND_UPON were added in r35397, which just says "Add flags":

2012-08-10  German A. Arias  <german@xelalug.org>

        * EOInterface/GNUmakefile:
        * EOAccess/GNUmakefile:
        * EOAdaptors/SQLiteAdaptor/GNUmakefile.in:
        * EOAdaptors/PostgreSQLAdaptor/config.mak.in:
        * EOControl/GNUmakefile:
        * EOModeler/GNUmakefile: Add flags to compile with new linkers.

I guess we need to ask German what "new linkers" there are, and how removing Target_LIBRARIES_DEPEND_UPON might break them?

Thanks,
Graham.


Graham Lee <leeg>
Wed 01 May 2013 02:17:34 AM UTC, comment #1: 

the following entries in Makefile.preamble used to link this with the appropriate linker command line for the platform, figuring out whats gone awry there would be the right place to start


ADDITIONAL_NATIVE_LIBS += EOControl
ADDITIONAL_NATIVE_LIB_DIRS+=../EOControl

(apologies if this gets sent twice)

matt rice <ratmice>
Group Member
Tue 30 Apr 2013 02:32:54 PM UTC, original submission:  

Hi,

I'm building GDL2 from r36452 on apple-apple-apple. The build is fine, but linking fails because it tries to use Linux-style -lFramework instead of Apple-style -framework Framework flags. I can patch the GNUmakefiles to solve my problem (example below), but a patch should really support both linker styles and I don't know how I'd do that.

Thanks,
Graham.


-EOAccess_LIBRARIES_DEPEND_UPON = -lEOControl $(OBJC_LIBS)
+EOAccess_LIBRARIES_DEPEND_UPON = -framework EOControl $(OBJC_LIBS)

Graham Lee <leeg>

 

(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

 

Carbon-Copy List
  • -email is unavailable- added by espectador (Posted a comment)
  • -email is unavailable- added by leeg (Adding German in hopes to get some insight on this bug :))
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by leeg (Submitted the item)
  •  

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-05-01 leeg Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code