[PyKDE] FreeBSD build problems error 23512

Jim Bublitz jbublitz at nwinternet.com
Fri Aug 30 17:03:00 BST 2002


On 30-Aug-02 Chris Munchenberg wrote:
> cd kio && "/usr/bin/make" -f Makefile
> g++ -c -pipe -w -O2 -pthread -D_THREAD_SAFE -fPIC 
> -DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -fno-exceptions -I-I -I../extraH -I.
> -I/usr/local/include/python2.2 -I/usr/local/include -I-I 
> -I/usr/local/include/kio -I-I -I../kdecore -I/usr/local/include
> -I/usr/X11R6/include -I/usr/X11R6/mkspecs/default -o kiohuge.o
> kiohuge.cpp
> sip/filesize_t.sip: In function `int
> sipConvertTo_kiofilesize_t(PyObject *,
> long long int **, int *)':
> sip/filesize_t.sip:54: implicit declaration of function `int
> atoll(...)'
> *** Error code 1

Quoting from an earlier post by Steve Simmons:

"""
To make a long story short, atoll() is coming into FreeBSD but
isn't there yet.  The source shows it to be a one-liner, so adding
this to the appropriate kio module did the trick:

inline kiofilesize_t atoll( char * s ) { return (kiofilesize_t)
    strtoll(s, (char **)NULL, 10); }

"""





More information about the PyQt mailing list