From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from nick.hrz.tu-chemnitz.de ([134.109.228.11]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1ThMZP-0003ML-RL for ptxdist@pengutronix.de; Sat, 08 Dec 2012 16:44:04 +0100 Received: from postman.hrz.tu-chemnitz.de ([134.109.133.5] helo=mailbox.hrz.tu-chemnitz.de) by nick.hrz.tu-chemnitz.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1ThMZK-0001KK-B1 for ptxdist@pengutronix.de; Sat, 08 Dec 2012 16:43:58 +0100 Received: from p5b2004e4.dip.t-dialin.net ([91.32.4.228] helo=macuplan.fritz.box) by mailbox.hrz.tu-chemnitz.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1ThMZJ-0002MU-Ue for ptxdist@pengutronix.de; Sat, 08 Dec 2012 16:43:58 +0100 From: Daniel Kriesten Mime-Version: 1.0 (Apple Message framework v1283) Date: Sat, 8 Dec 2012 16:43:56 +0100 In-Reply-To: <1AD430B7-0904-4E5D-BEA8-D359221672AA@etit.tu-chemnitz.de> References: <4F832414.2090800@biessmann.de> <20120409185943.GB7410@regiomontanus.bwalle.de> <4F834B30.7020002@biessmann.de> <20120410090436.GB598@regiomontanus.bwalle.de> <20120410183557.GA7335@regiomontanus.bwalle.de> <1B5EB76D-CF79-4E04-A49E-E4C9A49AF0BE@etit.tu-chemnitz.de> <20120417112406.GI8237@pengutronix.de> <20120417114504.GA11343@regiomontanus.bwalle.de> <20120418082935.GJ28513@pengutronix.de> <4295DCC4-649F-4EE5-928A-41DDF15A5490@etit.tu-chemnitz.de> <20120418141642.GE17656@pengutronix.de> <0CD03835-B077-48D9-98B3-D6BD380253BA@etit.tu-chemnitz.de> <742DF9D3-D7F9-4E91-B5DB-D5B33C424B8F@etit.tu-chemnitz.de> <4F8FF706.1040103@corscience.de> <7781E107-7A27-441D-AD08-EB8A981AE12D@etit.tu-chemnitz.de> <4F90042A.6060804@corscience.de> <1AD430B7-0904-4E5D-BEA8-D359221672AA@etit.tu-chemnitz.de> Message-Id: Subject: Re: [ptxdist] Using PTXdist on Mac OS 10.7 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="===============0819680919==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0819680919== Content-Type: multipart/signed; boundary="Apple-Mail=_D66860F4-0510-4FD3-B602-581FD049BA75"; protocol="application/pkcs7-signature"; micalg=sha1 --Apple-Mail=_D66860F4-0510-4FD3-B602-581FD049BA75 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Dear all, So today I did a fresh build of ptxdist on my mac using Mac OS X 10.7.5 XCode 4.5.2 (4G2008a) and (nearly) following the guide of Bernhard. Only, I use the = git-Version as of today (08f738f9). In addition to the tools mentioned in the guide, I had to install = autoconf and automake. Then I did: ./autogen.sh=20 ./configure --prefix=3D/usr/local/ptxdist = --with-bash-completion=3D/usr/local/etc/bash_completion.d make This ends in the following error: ----- 8< ----- gcc -g -O2 -DCURSES_LOC=3D"" -DKBUILD_NO_NLS = -DPACKAGE=3D'"ptxdist"' -DCONFIG_=3D'"PTXCONF_"' -c mconf.c -o mconf.o mconf.c: In function =91search_conf=92: mconf.c:378: error: invalid initializer make[1]: *** [mconf.o] Error 1 make: *** [kconfig] Error 2 ----- >8 ----- Happily, clang is more nosy on the error: ----- 8< ----- clang -g -O2 -DCURSES_LOC=3D"" -DKBUILD_NO_NLS = -DPACKAGE=3D'"ptxdist"' -DCONFIG_=3D'"PTXCONF_"' -c mconf.c -o mconf.o mconf.c:378:25: warning: implicit declaration of function = 'CIRCLEQ_HEAD_INITIALIZER' is invalid in C99 = [-Wimplicit-function-declaration] struct jk_head head =3D CIRCLEQ_HEAD_INITIALIZER(head); ^ mconf.c:378:18: error: initializing 'struct jk_head' with an expression = of incompatible type 'int' struct jk_head head =3D CIRCLEQ_HEAD_INITIALIZER(head); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. ----- >8 ----- So the solution is to add "missing.h" to mconf.c, when compiling on a = mac. But I'm not sure, what's the pretty way to do that in a platform = independent way. But I'm sure you may lend me a hand here? Regards Daniel --=20 Daniel Kriesten Chair for Circuit and System Design Chemnitz University of Technology, Reichenhainer Str. 31-33, D-09126 = Chemnitz Phone: +49 371 531-33158, Fax: +49 371 531-833158 http://www.tu-chemnitz.de/etit/sse --Apple-Mail=_D66860F4-0510-4FD3-B602-581FD049BA75 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPITCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQD ExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBaFw0xOTA2MzAyMzU5 MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJ MSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U1wBblSJ01CDrNI/W7MAxBAuZgeKm FNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB6fL9KDhsAw4bpXCsxEXsM84IkQ4wcOItq aACa7txP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lbW5pdHouZGUCBBI8zlYwgdkGCyqGSIb3DQEJEAILMYHJoIHGMIG9MQswCQYDVQQGEwJERTEp MCcGA1UEChMgVGVjaG5pc2NoZSBVbml2ZXJzaXRhZXQgQ2hlbW5pdHoxIzAhBgNVBAsTGlVuaXZl cnNpdGFldHNyZWNoZW56ZW50cnVtMTwwOgYDVQQDEzNUVSBDaGVtbml0eiBDZXJ0aWZpY2F0aW9u IEF1dGhvcml0eSAtIFRVQy9VUlogQ0EgRzMxIDAeBgkqhkiG9w0BCQEWEWNhQHR1LWNoZW1uaXR6 LmRlAgQSPM5WMA0GCSqGSIb3DQEBAQUABIIBAB/Qxj3n94xDcIxLYuJV2OQTgr2eJKCZV9NZyXL+ 8COhOmItPRlAEohtbn0OF2919ZgK2wmD7W6s+g8YX0PBWWh2KHJIySQBiKSXYAz67F5InwC3WRWx NzTnHDfEjBS3WjNkZBbQX0soI87ZyMCA6jCvunVhfJtf99dqW0Pv/RsY8q1pz5LAj8jvhzRSP9lA e5P+cZZH2KggRfSDcm7y1Nxy8Hm/D84zIYNszZ3xazjKUhvJjIYyA4mzsCEDENx2amI/k+ABjlQC hDzb5SDemhM000rjSHcK48lxFo3xBrtry2utBK9pZEq4qrvIRDJ3TKWavxzpbfVJF6xDQcW80TQA AAAAAAA= --Apple-Mail=_D66860F4-0510-4FD3-B602-581FD049BA75-- --===============0819680919== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0819680919==--