python compile error

Bug #504917 reported by ಠ_ಠ
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Drizzle Interfaces
New
Undecided
Unassigned

Bug Description

Steps:
bzr branch lp:drizzle-interface
cd drizzle-interface
./config/autorun.sh
./configure
make <---- where i get the error

this is the output of what i get when i try to make:
/bin/mkdir -p python/.deps
running build_ext
building 'drizzle._libdrizzle' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c libdrizzle.c -o build/temp.linux-x86_64-2.6/libdrizzle.o
libdrizzle.c:2585: error: expected "=", ",", ";", "asm" or "__attribute__" before "shutdown_level"
libdrizzle.c:2737: warning: function declaration isn"t a prototype
libdrizzle.c: In function "Drizzle_add_query":
libdrizzle.c:3056: warning: passing argument 8 of "drizzle_query_add" discards qualifiers from pointer target type
/usr/local/include/libdrizzle/query.h:73: note: expected "void *" but argument is of type "const void *"
libdrizzle.c: At top level:
libdrizzle.c:3176: error: expected declaration specifiers or "..." before "drizzle_refresh_options_t"
libdrizzle.c: In function "Connection_refresh":
libdrizzle.c:3177: warning: implicit declaration of function "drizzle_refresh"
libdrizzle.c:3177: error: "options" undeclared (first use in this function)
libdrizzle.c:3177: error: (Each undeclared identifier is reported only once
libdrizzle.c:3177: error: for each function it appears in.)
libdrizzle.c:3177: warning: return makes pointer from integer without a cast
libdrizzle.c: At top level:
libdrizzle.c:3179: error: expected declaration specifiers or "..." before "shutdown_level"
libdrizzle.c: In function "Connection_shutdown":
libdrizzle.c:3180: error: "level" undeclared (first use in this function)
libdrizzle.c: In function "Connection_stat":
libdrizzle.c:3183: warning: implicit declaration of function "drizzle_stat"
libdrizzle.c:3183: warning: return makes pointer from integer without a cast
libdrizzle.c: In function "Connection_debug_info":
libdrizzle.c:3186: warning: implicit declaration of function "drizzle_debug_info"
libdrizzle.c:3186: warning: return makes pointer from integer without a cast
libdrizzle.c: In function "Connection_change_user":
libdrizzle.c:3192: warning: implicit declaration of function "drizzle_change_user"
libdrizzle.c:3193: warning: return makes pointer from integer without a cast
libdrizzle.c: In function "Connection_write":
libdrizzle.c:3196: warning: implicit declaration of function "drizzle_command_write"
libdrizzle.c:3197: warning: return makes pointer from integer without a cast
libdrizzle.c: In function "Query_data":
libdrizzle.c:3296: warning: implicit declaration of function "drizzle_query_data"
libdrizzle.c:3296: warning: return makes pointer from integer without a cast
libdrizzle.c: In function "Query_set_data":
libdrizzle.c:3299: warning: implicit declaration of function "drizzle_query_set_data"
libdrizzle.c: In function "_wrap_Connection_refresh":
libdrizzle.c:5043: error: "drizzle_refresh_options_t" undeclared (first use in this function)
libdrizzle.c:5043: error: expected ";" before "arg2"
libdrizzle.c:5070: error: "arg2" undeclared (first use in this function)
libdrizzle.c:5070: error: expected expression before ")" token
libdrizzle.c:5073: error: too many arguments to function "Connection_refresh"
libdrizzle.c: In function "_wrap_Connection_shutdown":
libdrizzle.c:5084: error: "shutdown_level" undeclared (first use in this function)
libdrizzle.c:5084: error: expected ";" before "arg2"
libdrizzle.c:5111: error: "arg2" undeclared (first use in this function)
libdrizzle.c:5111: error: expected expression before ")" token
libdrizzle.c:5114: error: too many arguments to function "Connection_shutdown"
error: command 'gcc' failed with exit status 1
make: *** [python/drizzle/_libdrizzle.so] Error 1

------------

edit: Python version 2.6.4

ಠ_ಠ (swasheck)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.