From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.neuhaus.de ([62.109.85.115]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Yb3mB-0004mi-GE for ptxdist@pengutronix.de; Thu, 26 Mar 2015 10:08:32 +0100 Received: from [172.23.1.40] (port=58654 helo=reddoxx.neuhaus.local) by mail.neuhaus.de with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Yb3m9-00042s-0W for ptxdist@pengutronix.de; Thu, 26 Mar 2015 10:08:29 +0100 In-Reply-To: References: Message-ID: From: Oliver.Graute@neuhaus.de Date: Thu, 26 Mar 2015 10:08:27 +0100 MIME-Version: 1.0 Subject: [ptxdist] Antwort: mod_deflate compression module needs LD_FLAGS="-lz" for apr Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0216669525==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de This is an S/MIME signed message --===============0216669525== Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha1"; boundary="----57505F7E0A3F4A471D3BC2A710010CCA" This is an S/MIME signed message ------57505F7E0A3F4A471D3BC2A710010CCA MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=4EBBF487DFA19C2D8f9e8a93df938690918c4EBBF487DFA19C2D" Content-Disposition: inline --0__=4EBBF487DFA19C2D8f9e8a93df938690918c4EBBF487DFA19C2D Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable > others solved this problem by adding > > LDFLAGS=3D"-lz" in apr-1-config file in the apr source tree > > what is the right way to add that LDFLAGS setting in ptxdist rule fil= e? i simply solved it this way: APACHE2_CONF_OPT :=3D \ $(CROSS_AUTOCONF_USR) \ --includedir=3D/usr/include/apache2 \ --enable-so \ + --enable-deflate=3Dshared \ --with-apr=3D$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \ --with-apr-util=3D$(PTXDIST_SYSROOT_CROSS)/bin/apu-config \ --with-ssl=3D$(PTXDIST_SYSROOT_TARGET)/usr/lib/ssl \ --enable-ssl=3Dshared \ + LDFLAGS=3D'-lz' APR_CONF_TOOL :=3D autoconf APR_CONF_OPT :=3D \ $(CROSS_AUTOCONF_USR) \ --enable-threads \ + LDFLAGS=3D'-lz' Best regards, Oliver= --0__=4EBBF487DFA19C2D8f9e8a93df938690918c4EBBF487DFA19C2D Content-type: text/html; charset=US-ASCII Content-Disposition: inline Content-transfer-encoding: quoted-printable


> others solved this problem by adding
>
> LDFLAGS=3D"-lz" in apr-1-config file in the apr source t= ree
>
> what is the right way to add that LDFLAGS setting in ptxdist rule = file?

i simply solved it this way:

APACHE2_CONF_OPT :=3D \
        $(CROSS_AUTOCONF_USR) \
        --includedir=3D/usr/include/apache2 \
        --enable-so \
+       --enable-deflate=3Dshared \
        --with-apr=3D$(PTXDIST_SYSROOT_CROSS)/b= in/apr-config \
        --with-apr-util=3D$(PTXDIST_SYSROOT_CRO= SS)/bin/apu-config \
        --with-ssl=3D$(PTXDIST_SYSROOT_TARGET)/= usr/lib/ssl \
        --enable-ssl=3Dshared \
+       LDFLAGS=3D'-lz'


APR_CONF_TOOL :=3D autoconf           &nbs= p;                    = ;                    =                     =                     &= nbsp;                   &n= bsp;                   &nb= sp;                   &nbs= p;  
APR_CONF_OPT :=3D \             &nbs= p;                    = ;                    =                     =                     &= nbsp;                   &n= bsp;                   &nb= sp;                   &nbs= p;        
    $(CROSS_AUTOCONF_USR) \         &= nbsp;                   &n= bsp;                   &nb= sp;                   &nbs= p;                    = ;                    =                     =                     &= nbsp;  
    --enable-threads \          =                     =                     &= nbsp;                   &n= bsp;                   &nb= sp;                   &nbs= p;                    = ;                    =        
+     LDFLAGS=3D'-lz'      

Best regards,

Oliver  = --0__=4EBBF487DFA19C2D8f9e8a93df938690918c4EBBF487DFA19C2D-- ------57505F7E0A3F4A471D3BC2A710010CCA Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIJigYJKoZIhvcNAQcCoIIJezCCCXcCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3 DQEHAaCCB2QwggO7MIICo6ADAgECAhRTTkX+umlHGjEnbVuCyKf7ZDxsAzANBgkq hkiG9w0BAQUFADBlMRgwFgYDVQQDEw9mdzF0Lm5ldWhhdXMuZGUxEDAOBgNVBAsT B0dhdGV3YXkxKjAoBgNVBAoTIURyIE5ldWhhdXMgVGVsZWtvbW11bmlrYXRpb24g R21iSDELMAkGA1UEBhMCZGUwHhcNMDcwMzE5MTYyOTI5WhcNMjcwMzE0MTYyOTI5 WjBlMRgwFgYDVQQDEw9mdzF0Lm5ldWhhdXMuZGUxEDAOBgNVBAsTB0dhdGV3YXkx KjAoBgNVBAoTIURyIE5ldWhhdXMgVGVsZWtvbW11bmlrYXRpb24gR21iSDELMAkG A1UEBhMCZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDO/vqAga4J 46o9WABfVwTFOYiUyA7GMnRK5Nck4InVoQYyBd3kZGANQhSFocmiBd0ptwVaJ5Cd ZivSe1K/FzhNVygo5UyL2C85uqrb51H7pVFV93yuB399V6sMnZnMYkoQpfbGdFfe Qx2YlopLkvvJPQK8I9qbpK/XqjxHcnQh21d4D890UWUAWGIDk4iwwyII75k32HJO 2D+fiygjzfoT0azyEfoYH9jUSA3tk3wQX3N3tCLxsCKta1TIaAyb7eUvXlk3rbrW h5UYVuUMaCo8tEC6mLvoG+gJbAhKePOV4DMMOpplBXCw/bj2CXK7q/3TbJ507jO5 6EBt/q+7+nqpAgMBAAGjYzBhMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQD AgEGMB0GA1UdDgQWBBTs+JXPYwn0sdl6NX256a/JcW9YoDAfBgNVHSMEGDAWgBTs +JXPYwn0sdl6NX256a/JcW9YoDANB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PUzKGZvH3/a+AqYN aLUeC+QtclZifssPI5BhKQxY0tvknk+pIStC76ZFXACuS/hl58WRz1XBa41r0rj9 CzFW0BKcwg3rFcsaUMZUzmVxj0zNa3Tt696n/VH5IFNXQ2UoVNirbAWNY6Cpag== ------57505F7E0A3F4A471D3BC2A710010CCA-- --===============0216669525== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0216669525==--