discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gorm build error


From: Boris D.
Subject: Re: Gorm build error
Date: Tue, 26 Mar 2024 19:18:07 -0700
User-agent: Mozilla Thunderbird

The issue is still present if I try to build Gorm with the latest
changes in the repo:

Making all for app Gorm...
 Creating Gorm.app/....
 Compiling file GormAppDelegate.m ...
 Compiling file GormLanguageViewController.m ...
 Compiling file main.m ...
 Linking app Gorm ...
../../GormCore/GormCore.framework/libGormCore.so: error: undefined
reference to '__objc_ivar_offset_NSMatrix._selectedCells.^^C'
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[5]: ***
[/usr/GNUstep/System/Library/Makefiles/Instance/application.make:131:
Gorm.app/./Gorm] Error 1
gmake[4]: ***
[/usr/GNUstep/System/Library/Makefiles/Instance/application.make:145:
internal-app-run-compile-submake] Error 2
gmake[3]: ***
[/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297:
Gorm.all.app.variables] Error 2
gmake[2]: ***
[/usr/GNUstep/System/Library/Makefiles/Master/application.make:38:
internal-all] Error 2
gmake[1]: ***
[/usr/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53:
internal-all] Error 2
make: ***
[/usr/GNUstep/System/Library/Makefiles/Master/serial-subdirectories.make:53:
internal-all] Error 2


On 2024-03-26 11:23, Gregory Casamento wrote:
I have added some changes to address this.    I still need the
information that I asked for to be fully sure that this will address
your issue or that you are using a valid configuration.

Please give it a try and let us know.

Thanks, GC

On Tue, Mar 26, 2024 at 8:05 AM Gregory Casamento
<greg.casamento@gmail.com <mailto:greg.casamento@gmail.com>> wrote:

    Hey,

    This appears to be coming from GormResourceEditor which derives from
    GormGenericEditor which derives from NSMatrix.

    _selectedCells is a non-private ivar of NSMatrix so it should be
    okay for it to be accessed directly by a subclass.   Additionally,
    this builds properly both with clang and GCC on Debian.

    I am looking into this.  Could you give any additional information
    about which version of the base and gui library you’re using?

    Thanks,
    Gregory Casamento
    GNUstep Lead Developer / Black Lotus, Principal Consultant
    http://www.gnustep.org <http://www.gnustep.org> -
    http://heronsperch.blogspot.com <http://heronsperch.blogspot.com>
    https://www.patreon.com/bePatron?u=352392
    <https://www.patreon.com/bePatron?u=352392> - Become a Patron
    https://www.openhub.net/languages/objective_c
    <https://www.openhub.net/languages/objective_c> - OpenHub standings


    On Mon, Mar 25, 2024 at 03:07 Fred Kiefer <fredkiefer@gmx.de
    <mailto:fredkiefer@gmx.de>> wrote:

        Looks like Gorm is using the instance variable directly while it
        should be using the corresponding method. No idea why this is
        the case but it should be easy to fix.

         > Am 25.03.2024 um 04:07 schrieb Boris D. <borisd@gmx.com
        <mailto:borisd@gmx.com>>:
         >
         > Hello,
         > Trying to build the latest release of Gorm
        (gorm-1.3.1.tar.gz) on Ubuntu
         > 22.04 results in the following error:
         >
         > Making all for app Gorm...
         >  Creating Gorm.app/....
         >  Compiling file Gorm.m ...
         >  Compiling file main.m ...
         >  Linking app Gorm ...
         > GormCore/./obj/libGormCore.so: error: undefined reference to
         > '__objc_ivar_offset_NSMatrix._selectedCells.^^C'
         >
         > Any suggestions?
         >
         >




--
Gregory Casamento
GNUstep Lead Developer / Black Lotus, Principal Consultant
http://www.gnustep.org <http://www.gnustep.org> -
http://heronsperch.blogspot.com <http://heronsperch.blogspot.com>
https://www.patreon.com/bePatron?u=352392
<https://www.patreon.com/bePatron?u=352392> - Become a Patron
https://www.openhub.net/languages/objective_c
<https://www.openhub.net/languages/objective_c> - OpenHub standings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]