discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problem with the GNUStep packages in FreebSD?


From: Fred Kiefer
Subject: Re: Problem with the GNUStep packages in FreebSD?
Date: Sat, 20 Mar 2021 10:52:19 +0100

Hi Edwin,

> Am 20.03.2021 um 10:01 schrieb Edwin Ancaer <eancaer@gmail.com>:
> 
> Sorry to keep bothering you for what is probably a mistake I made during the 
> upgrade of FreeBSD.  But I upgraded every installed port on the system, 
> causing endless hours and hours of recompilations and installations. and 
> reduced the linker errors in GNUMail and ProjectCenter (maybe  other gnustep 
> ports are involved, but I did not try them allyet) to 1. 
> 
> Can you give any indication where to look for a solution?  
> Linking ProjectCenter gives:
> 
> cc   -L/usr/local/lib -fstack-protector-strong  -rdynamic -rdynamic -rdynamic 
>  -rdynamic     -fuse-ld= -pthread -fexceptions -fobjc-runtime=gnustep-2.0 
> -fblocks  -o ProjectCenter.app/./ProjectCenter \
> ./obj/ProjectCenter.obj/PCAppController.m.o 
> ./obj/ProjectCenter.obj/PCInfoController.m.o 
> ./obj/ProjectCenter.obj/PCMenuController.m.o 
> ./obj/ProjectCenter.obj/PCPrefController.m.o 
> ./obj/ProjectCenter.obj/ProjectCenter_main.m.o   
> -L./Framework/ProjectCenter.framework/.  
> -L./Framework/ProjectCenter.framework/.  
> -L./Framework/ProjectCenter.framework/.   
> -L./Framework/ProjectCenter.framework/.    
> -L/usr/ports/devel/projectcenter/work/GNUstep/Library/Libraries 
> -L/usr/local/GNUstep/Local/Library/Libraries 
> -L/usr/local/GNUstep/System/Library/Libraries  -L/usr/local/lib 
> -lProjectCenter   -lgnustep-gui    -lgnustep-base   -pthread -lobjc   -lm
> ld: error: ./Framework/ProjectCenter.framework/./libProjectCenter.so: 
> undefined reference to __objc_ivar_offset_NSView._tracking_rects.
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> 
> libProjectCenter.so seems to depend on the latest gnustep libraries:
> l
> $ ldd 
> /usr/ports/devel/projectcenter/work/ProjectCenter-0.6.2/Framework/ProjectCenter.framework/libProjectCenter.so
> /usr/ports/devel/projectcenter/work/ProjectCenter-0.6.2/Framework/ProjectCenter.framework/libProjectCenter.so:
> /usr/ports/devel/projectcenter/work/ProjectCenter-0.6.2/Framework/ProjectCenter.framework/libProjectCenter.so:
>         libobjc.so.4.6 => /usr/local/lib/libobjc.so.4.6 (0x8006f0000)
>         libgnustep-base.so.1.27 => 
> /usr/local/GNUstep/System/Library/Libraries/libgnustep-base.so.1.27 
> (0x800e00000)
>         libgnustep-gui.so.0.28 => 
> /usr/local/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.28 
> (0x801400000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800725000)
> 
> The strange thing is, that symbol seems to be in the libgnustep-gui library: 
> 
> $ nm  /usr/local/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.28 | 
> grep __objc_ivar_offset_NSView._tracking_rects
> 000000000049f61c d __objc_ivar_offset_NSView._tracking_rects.Wolfgang Lux 
> <wolfgang.lux@gmail.com>
> $ 


for clang _tracking_rect is package private, so it should not be visible in 
ProjectCenter. This shouldn’t be an issue as the code using it was removed from 
ProjectCenter two years ago. But somehow the package you are using still seems 
to include that old code. Looks like we need a new release of ProjectCenter. 
Until that happens you are best off by using the code from git.

Hope this helps,
Fred


reply via email to

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