To everyone,
I've been trying to install/compile this module, but I get the errors below.
Running freetds 0.53, Python2.2.1
Upgrading Freetds is a last resort at the moment as I am unsure if any
other progs use freetds on our server (php probably does and I do not
really feel like recompiling that).
I have tried all the modules from 0.3 --> 0.36
Anyone struck this error before or can anyone point me in the right
direction to fix this?
As a side note: I have got this module compiled/running on another
server - also running freetds 0.53, python 2.2 but I cannot find out
where the differences are between these two servers. (This second server
is my development server:)
Thank you
Paul van Tuel
Systems Engineer
Allied Press
Dunedin
New Zealand
----------
running install
running build
running build_py
not copying Sybase.py (output up-to-date)
running build_ext
building 'sybasect' extension
skipping blk.c (build/temp.linux-i686-2.2/blk.o up-to-date)
skipping databuf.c (build/temp.linux-i686-2.2/databuf.o up-to-date)
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DWANT_BULKCOPY
-I/usr/local/freetds/include
-I/usr/local/include/python2.2 -c cmd.c -o build/temp.linux-i686-2.2/cmd.o
In file included from /usr/local/freetds/include/cspublic.h:23,
from sybasect.h:10,
from cmd.c:9:
/usr/local/freetds/include/tds.h:514: warning: function declaration
isn't a prototype
/usr/local/freetds/include/tds.h:515: warning: function declaration
isn't a prototype
In file included from sybasect.h:10,
from cmd.c:9:
/usr/local/freetds/include/cspublic.h:63: warning: function declaration
isn't a prototype
/usr/local/freetds/include/cspublic.h:64: warning: function declaration
isn't a prototype
/usr/local/freetds/include/cspublic.h:79: warning: function declaration
isn't a prototype
/usr/local/freetds/include/cspublic.h:80: warning: function declaration
isn't a prototype
cmd.c: In function `CS_COMMAND_ct_bind':
cmd.c:36: warning: implicit declaration of function `ct_bind'
cmd.c: In function `CS_COMMAND_ct_cancel':
cmd.c:80: warning: implicit declaration of function `ct_cancel'
cmd.c: In function `CS_COMMAND_ct_cmd_drop':
cmd.c:111: warning: implicit declaration of function `ct_cmd_drop'
cmd.c: In function `CS_COMMAND_ct_command':
cmd.c:162: warning: implicit declaration of function `ct_command'
cmd.c:224: `CS_SEND_DATA_CMD' undeclared (first use in this function)
cmd.c:224: (Each undeclared identifier is reported only once
cmd.c:224: for each function it appears in.)
cmd.c:232: `CS_COLUMN_DATA' undeclared (first use in this function)
cmd.c: In function `CS_COMMAND_ct_describe':
cmd.c:522: warning: implicit declaration of function `ct_describe'
cmd.c: In function `CS_COMMAND_ct_fetch':
cmd.c:690: warning: implicit declaration of function `ct_fetch'
cmd.c: In function `CS_COMMAND_ct_get_data':
cmd.c:723: warning: implicit declaration of function `ct_get_data'
cmd.c: In function `CS_COMMAND_ct_param':
cmd.c:764: warning: implicit declaration of function `ct_param'
cmd.c: In function `CS_COMMAND_ct_res_info':
cmd.c:871: warning: implicit declaration of function `ct_res_info'
cmd.c: In function `CS_COMMAND_ct_results':
cmd.c:1036: warning: implicit declaration of function `ct_results'
cmd.c: In function `CS_COMMAND_ct_send':
cmd.c:1067: warning: implicit declaration of function `ct_send'
cmd.c: In function `cmd_alloc':
cmd.c:1206: warning: implicit declaration of function `ct_cmd_alloc'
error: command 'gcc' failed with exit status 1
--------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.