X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 75A7811F660D for ; Thu, 6 Apr 2006 17:33:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92052-02-2 for ; Thu, 6 Apr 2006 17:33:12 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web30813.mail.mud.yahoo.com (web30813.mail.mud.yahoo.com [68.142.201.139]) by postgresql.org (Postfix) with SMTP id 09B6911F6936 for ; Thu, 6 Apr 2006 17:33:13 -0300 (ADT) Received: (qmail 68825 invoked by uid 60001); 6 Apr 2006 20:33:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=CGZU+LfGweF/lFfFdwQbkn2M2kRzMPwApOtT6eY3u4GltojCYeOCeFmluWFZ+0mRpUVLIjGZeaeK74XzSJ4yPfLKvAHfVEs+wM8HmBwdu/ZFOrMvPHxOoceqao3fsrnF4K61xWPBr02Z7WODKKR/t1+FKyUltpVx6MD3t6qTfzE= ; Message-ID: <20060406203313.68823.qmail@web30813.mail.mud.yahoo.com> Received: from [24.15.246.9] by web30813.mail.mud.yahoo.com via HTTP; Thu, 06 Apr 2006 13:33:13 PDT Date: Thu, 6 Apr 2006 13:33:13 -0700 (PDT) From: lmyho Subject: Re: postgresql module of freeradius on Debian To: Tom Lane Cc: pgsql-ports@postgresql.org In-Reply-To: <26782.1144351808@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.212 required=5 tests=[AWL=-0.146, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_WHOIS=0.879] X-Spam-Score: 1.212 X-Spam-Level: * X-Archive-Number: 200604/3 X-Sequence-Number: 2370 --- Tom Lane wrote: > lmyho writes: > > we did it. But this problem: we got so many...so many warnings during the > process > > of building the debian packages, tons of the warnings! > > You can probably ignore all the "differ in signedness" warnings, those > are just the compiler being anal about "char" vs "unsigned char". > Thank you so much Tom! So we can safely ignore all of this kind of "differ" warnings! Thank you! Can we also safely ignore the followings (just types, there are so...o many!): Such as: cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C And: sql_postgresql.c: In function ‘sql_init_socket’: sql_postgresql.c:151: warning: assignment discards qualifiers from pointer target type sql_postgresql.c:153: warning: assignment discards qualifiers from pointer target type sql_postgresql.c:157: warning: assignment discards qualifiers from pointer target type sql_postgresql.c:159: warning: assignment discards qualifiers from pointer target type sql_postgresql.c: In function ‘sql_store_result’: sql_postgresql.c:271: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_destroy_socket’: sql_postgresql.c:287: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_num_fields’: sql_postgresql.c:302: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_fetch_row’: sql_postgresql.c:324: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_free_result’: sql_postgresql.c:367: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_error’: sql_postgresql.c:395: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_close’: sql_postgresql.c:411: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘sql_affected_rows’: sql_postgresql.c:458: warning: unused parameter ‘config’ sql_postgresql.c: In function ‘not_implemented’: sql_postgresql.c:466: warning: unused parameter ‘sqlsocket’ sql_postgresql.c:466: warning: unused parameter ‘config’ Do these matter? And: print.c: In function 'vp_prints_value': print.c:198: warning: assignment discards qualifiers from pointer target type radrelay.c: In function 'main': radrelay.c:871: warning: passing argument 1 of 'free' discards qualifiers from pointer target type And what does these mean?: libtool: install: warning: remember to run `libtool --finish /usr/lib/freeradius' libtool: install: warning: relinking `rlm_acct_unique.la' libtool: install: warning: remember to run `libtool --finish /usr/lib/freeradius' libtool: install: warning: relinking `rlm_always.la' libtool: install: warning: remember to run `libtool --finish /usr/lib/freeradius' ... When building the pkg, the pdpkg-buildpackage installed the libraries in the dir where I built the pkgs, such as: /home/storm/received/freeradius-1.1.1/debian/freeradius/usr/lib/freeradius And says: If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' What should I do about these libs?? What they have something to do with the libs of Debian system? Thank you for your advice!! Best regards, leo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com