These are warnings coming from GCC (as opposed to errors, which would prevent compilation from finishing).

GCC 4.X emits these pointer signedness warnings whereas earlier GCC versions did not. This issue has been fixed on the Zope trunk, I believe (the codebase which will become Zope 2.10).

- C


On Mar 20, 2006, at 9:23 PM, a blob of green gelatin wrote:

Hi all,

I've been checking out the archives in an attempt to find an already-published answer to my problem and have only found one thread which comes close to describing what I'm seeing.

When run 'configure', there are no problems. Once I try making things, I get strange errors which I suppose are probably python- related:

slimemold[52]:/tmp/Zope-2.9.1% ./configure --prefix=/usr/local/bin/ zope

Configuring Zope installation

Testing for an acceptable Python interpreter...

Python version 2.4.1 found at /usr/bin/python
Python version 2.4.1 found at /usr/bin/python2
Python version 2.4.1 found at /usr/bin/python2.4
Python version 2.4.2 found at /usr/local/bin/python

The optimum Python version (2.4.2) was found at /usr/local/bin/python.

slimemold[53]:/tmp/Zope-2.9.1% make
/usr/local/bin/python install.py -q build
In file included from Dependencies/BTrees-Zope-2.9.1/BTrees/ BTreeModuleTemplate.c:335, from Dependencies/BTrees-Zope-2.9.1/BTrees/ _fsBTree.c:70: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeItemsTemplate.c: In function âgetBucketEntryâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeItemsTemplate.c:238: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeItemsTemplate.c:242: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeItemsTemplate.c:249: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeItemsTemplate.c:252: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness In file included from Dependencies/BTrees-Zope-2.9.1/BTrees/ BTreeModuleTemplate.c:336, from Dependencies/BTrees-Zope-2.9.1/BTrees/ _fsBTree.c:70: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function â_bucket_getâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:93: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âBucket_maxminKeyâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:713: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âbucket_keysâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:829: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âbucket_valuesâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:867: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âbucket_itemsâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:907: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:911: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âbucket_byValueâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:955: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:961: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c: In function âbucket_getstateâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:1134: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:1140: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BucketTemplate.c:1151: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness In file included from Dependencies/BTrees-Zope-2.9.1/BTrees/ BTreeModuleTemplate.c:337, from Dependencies/BTrees-Zope-2.9.1/BTrees/ _fsBTree.c:70: Dependencies/BTrees-Zope-2.9.1/BTrees/SetTemplate.c: In function âset_itemâ: Dependencies/BTrees-Zope-2.9.1/BTrees/SetTemplate.c:266: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness In file included from Dependencies/BTrees-Zope-2.9.1/BTrees/ BTreeModuleTemplate.c:338, from Dependencies/BTrees-Zope-2.9.1/BTrees/ _fsBTree.c:70: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c: In function âBTree_getstateâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c:953: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c: In function âBTree_maxminKeyâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c:1390: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c: In function âBTree_byValueâ: Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c:1641: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/BTrees-Zope-2.9.1/BTrees/BTreeTemplate.c:1647: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/ExtensionClass-Zope-2.9.1/ExtensionClass/ _ExtensionClass.c: In function âPyExtensionClass_Export_â: Dependencies/ExtensionClass-Zope-2.9.1/ExtensionClass/ _ExtensionClass.c:768: warning: cast from pointer to integer of different size Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c: In function âmodule_aq_validateâ: Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c:2155: warning: âinstâ may be used uninitialized in this function Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c:2155: warning: âobjâ may be used uninitialized in this function Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c:2155: warning: ânameâ may be used uninitialized in this function Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c:2155: warning: âvâ may be used uninitialized in this function Dependencies/AccessControl-Zope-2.9.1/AccessControl/ cAccessControl.c:2155: warning: âvalidateâ may be used uninitialized in this function Dependencies/persistent-Zope-2.9.1/persistent/TimeStamp.c: In function âTimeStamp_rawâ: Dependencies/persistent-Zope-2.9.1/persistent/TimeStamp.c:221: warning: pointer targets in passing argument 1 of âPyString_FromStringAndSizeâ differ in signedness Dependencies/persistent-Zope-2.9.1/persistent/TimeStamp.c: In function âTimeStamp_laterThanâ: Dependencies/persistent-Zope-2.9.1/persistent/TimeStamp.c:264: warning: pointer targets in passing argument 1 of âTimeStamp_FromStringâ differ in signedness

-------

I have tried specifying the --with-python=/usr/local/bin/python option as well. I've also attempted some of the suggestions in the one thread that seemed to pertain to what I was seeing:

http://www.gossamer-threads.com/lists/zope/users/179040? search_string=%2Bmake%20%2Berrors;#179040

slimemold[54]:/tmp/Zope-2.9.1% make -v
GNU Make 3.80

slimemold[55]:/tmp/Zope-2.9.1% uname -a
Linux slimemold.xxxxxxxxx.org 2.6.14-1.1637_FC4 #1 Wed Nov 9 19:01:56 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

I compiled the python 2.4.2 rather than used an rpm as part of the troubleshooting process.

Does anyone have any ideas why there errors are popping up upon 'make'?

Thanks in advance!

Chris
----

Some people wear Superman pajamas. Superman wears Chuck Norris pajamas.
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to