|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
gorm compile errorHi,
I am trying to compile gorm from svn and the the following compile error: Making all for app Gorm... Compiling file Gorm.m ... Compiling file main.m ... Linking app Gorm ... GormCore/./obj/libGormCore.so: undefined reference to `class_nextMethodList' collect2: ld returned 1 exit status make[2]: *** [Gorm.app/./Gorm] Error 1 make[1]: *** [internal-app-run-compile-submake] Error 2 make: *** [Gorm.all.app.variables] Error 2 Does someone know what's wrong here? What do I have to do to fix this? Thanks, Michael _______________________________________________ Help-gnustep mailing list Help-gnustep@... http://lists.gnu.org/mailman/listinfo/help-gnustep |
|
|
Re: gorm compile errorOn 12 Oct 2009, at 19:50, Michael Thaler wrote: > Hi, > > I am trying to compile gorm from svn and the the following compile > error: > > Making all for app Gorm... > Compiling file Gorm.m ... > Compiling file main.m ... > Linking app Gorm ... > GormCore/./obj/libGormCore.so: undefined reference to > `class_nextMethodList' > collect2: ld returned 1 exit status > make[2]: *** [Gorm.app/./Gorm] Error 1 > make[1]: *** [internal-app-run-compile-submake] Error 2 > make: *** [Gorm.all.app.variables] Error 2 > > Does someone know what's wrong here? What do I have to do to fix this? Update base and gorm from svn, rebuild both. _______________________________________________ Help-gnustep mailing list Help-gnustep@... http://lists.gnu.org/mailman/listinfo/help-gnustep |
|
|
Re: gorm compile errorMichael Thaler schrieb:
> Hi, > > I am trying to compile gorm from svn and the the following compile error: > > Making all for app Gorm... > Compiling file Gorm.m ... > Compiling file main.m ... > Linking app Gorm ... > GormCore/./obj/libGormCore.so: undefined reference to `class_nextMethodList' > collect2: ld returned 1 exit status > make[2]: *** [Gorm.app/./Gorm] Error 1 > make[1]: *** [internal-app-run-compile-submake] Error 2 > make: *** [Gorm.all.app.variables] Error 2 > > Does someone know what's wrong here? What do I have to do to fix this? To me this looks like Gorm has a private copy (slightly changed) of the base function GSObjCMethodNames from the file base/source/Additions/GSObjcRuntime.m. In that file we now have a local definition of class_nextMethodList when we aren't using the Next runtime. Something similar to that would be needed here. #define class_nextMethodList(aClass,anIterator) (({\ if (*(anIterator) == 0) \ *((struct objc_method_list**)(anIterator)) = (aClass)->methods; \ else \ *(anIterator) = (*((struct objc_method_list**)(anIterator)))->method_next; \ }), *(anIterator)) Most likely at some point base exported this definition to make it easier to port between different runtimes and somehow this got removed. Fred _______________________________________________ Help-gnustep mailing list Help-gnustep@... http://lists.gnu.org/mailman/listinfo/help-gnustep |
| Free embeddable forum powered by Nabble | Forum Help |