In article <2160b298-8e27-2457-dd7f-450e7258b...@libero.it>, Riccardo Mottola <riccardo.mott...@libero.it> wrote: >Hi, > >I am trying to port ArcticFox to NetBSD: it is a PaleMoon 27 fork and >thus close parent of firefox from 36 to 45 mostly. Primary idea was to >keep support for older MacOS versions, but it is also very good as >lighter browser on other OS! Of course I want it on NetBSD! > >I backported many fixes from FF 52 and other small code upgrades, to >pass from gcc4 vintage to GCC 6 and clang. It already builds >successfully on linux with gcc6 and there is partial progress with GCC8 > >Not on NetBSD though. I get this error: > >20:43.67 ld: warning: libintl.so.1, needed by >/usr/pkg/lib/libdbus-glib-1.so, may conflict with libintl.so.8 >20:43.68 ld: warning: libintl.so.1, needed by >/usr/pkg/lib/libdbus-glib-1.so, may conflict with libintl.so.8 >20:43.68 ../../dom/media/webaudio/Unified_cpp_dom_media_webaudio1.o: In >function `std::__complex_abs(doublecomplex )': >20:43.69 /usr/include/g++/complex:602: undefined reference to `__c99_cabs' >20:43.69 /usr/include/g++/complex:602: undefined reference to `__c99_cabs' >20:43.69 /usr/include/g++/complex:602: undefined reference to `__c99_cabs' >20:43.69 /usr/include/g++/complex:602: undefined reference to `__c99_cabs' >20:43.69 ../../dom/media/webaudio/blink/Unified_cpp_webaudio_blink0.o: >In function `std::__complex_abs(doublecomplex )': >20:43.70 /usr/include/g++/complex:602: undefined reference to `__c99_cabs' >20:43.70 >../../dom/media/webaudio/blink/Unified_cpp_webaudio_blink0.o:/usr/include/g++/complex:602: > >more undefined references to `__c99_cabs' follow >20:45.53 gmake[5]: *** >[/home/multix/code/Arctic-Fox/config/rules.mk:820: libxul.so] Error 1 > > >ON the internet I read about the need of linking with libm, what do you >think? Any better ideas? It did not work for me
Why? What was the error then? christos