mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Artur Wiebe" <artur@4wiebe.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] GLIB not building (ptxdist:2017-07, ArchLinux)
Date: Thu, 31 Aug 2017 15:30:25 +0200	[thread overview]
Message-ID: <4f2c-59a80f80-87-63400f00@116099381> (raw)
In-Reply-To: <4f2c-59a67800-7d-63400f00@116065094>

Hi,

I managed to compile GLIB with the following workarounds. I didn't find the roots of the problems so I don't send a patch...

 
diff /usr/local/lib/ptxdist-2017.07.0/rules/glib.make root/rules/glib.make -c3
*** /usr/local/lib/ptxdist-2017.07.0/rules/glib.make    2017-07-20 17:17:59.000000000 +0200
--- root/rules/glib.make        2017-08-31 15:17:18.809045253 +0200
***************
*** 17,24 ****
  #
  # Paths and names
  #
! GLIB_VERSION  := 2.52.1
! GLIB_MD5      := 36b4c7bf4f2b398ac8ad90578d05c950
  GLIB          := glib-$(GLIB_VERSION)
  GLIB_SUFFIX   := tar.xz
  GLIB_SOURCE   := $(SRCDIR)/$(GLIB).$(GLIB_SUFFIX)
--- 17,24 ----
  #
  # Paths and names
  #
! GLIB_VERSION  := 2.52.3
! GLIB_MD5      := 89265d0289a436e99cad54491eb21ef4
  GLIB          := glib-$(GLIB_VERSION)
  GLIB_SUFFIX   := tar.xz
  GLIB_SOURCE   := $(SRCDIR)/$(GLIB).$(GLIB_SUFFIX)
***************
*** 39,45 ****
        glib_cv_have_qsort_r=yes \
        ac_cv_func_statfs=yes \
        ac_cv_path_MSGFMT=: \
!       ac_cv_path_XGETTEXT=no
  
  #
  # autoconf
--- 39,48 ----
        glib_cv_have_qsort_r=yes \
        ac_cv_func_statfs=yes \
        ac_cv_path_MSGFMT=: \
!       ac_cv_path_XGETTEXT=no \
!       LIBS="-lresolv" \
!       PKG_CONFIG_PATH=$(GLIB_DIR)/ \
!       GTKDOC_REBASE="/bin/true"
  
  #
  # autoconf

 
 Artur


 ---
On Wednesday, August 30, 2017 10:32 CEST, "Artur Wiebe" <artur@4wiebe.de> wrote: 
 
> Hi,
> 
> On my ArchLinux GLIB from current PtxDist is not building.
> 
> I get the error:
> ./.libs/libgio-2.0.so: undefined reference to `__dn_expand'
> ./.libs/libgio-2.0.so: undefined reference to `__res_query'
> collect2: error: ld returned 1 exit status
> make[5]: *** [Makefile:2285: glib-compile-resources] Error 1
> 
> Does anyone have any idea?
> 
> Best Regards,
> Artur


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-08-31 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30  8:32 Artur Wiebe
2017-08-31 13:30 ` Artur Wiebe [this message]
2017-08-31 18:17 ` Ian Abbott
2017-08-31 18:28   ` Ian Abbott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f2c-59a80f80-87-63400f00@116099381 \
    --to=artur@4wiebe.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox