[haiku-bugs] Re: [Haiku] #18040: missing symbol _ZN8BPrivate10HashStringD1Ev

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 04 Nov 2022 15:31:28 -0000

#18040: missing symbol _ZN8BPrivate10HashStringD1Ev
---------------------------------------+----------------------------
  Reporter:  Nexus-6                   |      Owner:  axeld
      Type:  bug                       |     Status:  new
  Priority:  normal                    |  Milestone:
 Component:  Network & Internet/Stack  |    Version:  R1/Development
Resolution:                            |   Keywords:
Blocked By:                            |   Blocking:
  Platform:  x86-64                    |
---------------------------------------+----------------------------
Comment (by augiedoggie):

 Replying to [comment:3 Nexus-6]:

I can’t tell about WebPositive but Weather already links against
 libshared.a.
It also does not compile under the latest nightly, the problem is the
 same missing symbol but the culprit seems to be libnetservices where the
 symbol is referenced.


 You just need to change the link order to move libshared later in the list
 of libs


 {{{
 diff --git a/Makefile b/Makefile
 index b68d086..6a3d3c7 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -61,7 +61,7 @@ RSRCS = \
  #      -       if your library does not follow the standard library
 naming scheme,
  #              you need to specify the path to the library and it's name.
  #              (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a")
 -LIBS = be bnetapi localestub shared translation netservices $(STDCPPLIBS)
 +LIBS = be bnetapi localestub translation netservices shared $(STDCPPLIBS)

  #      Specify additional paths to directories following the standard
 libXXX.so
  #      or libXXX.a naming scheme. You can specify full paths or paths
 relative

 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18040#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: