Issue 45 in tinypy: build libtinypy.a error for embedding

7 views
Skip to first unread message

codesite...@google.com

unread,
Nov 11, 2009, 5:55:04 AM11/11/09
to tin...@googlegroups.com
Status: Accepted
Owner: ybc2084
Labels: Type-Defect Priority-Medium OpSys-All

New issue 45 by ybc2084: build libtinypy.a error for embedding
http://code.google.com/p/tinypy/issues/detail?id=45

What steps will reproduce the problem?
1. in the top dir, execute:
python setup.py blob

2. then enter build/ subdir, execute:
gcc -o tinypy.o -c tinypy.c

What is the expected output? What do you see instead?

It shoud have compiled out tinypy.o normally, but it didn't, meanwhile it
complains:

will complain:

tinypy.c:6378: error: expected declaration specifiers or '...' before
numeric constant
tinypy.c:6378: error: conflicting types for 'calloc'
tinypy.c: In function 'calloc':
tinypy.c:6379: error: too many arguments to function 'calloc'
tinypy.c:6382: error: 'tp' undeclared (first use in this function)
tinypy.c:6382: error: (Each undeclared identifier is reported only once
tinypy.c:6382: error: for each function it appears in.)
tinypy.c: In function 'free':
tinypy.c:6392: error: 'tp' undeclared (first use in this function)
tinypy.c: In function 'realloc':
tinypy.c:6405: error: 'tp' undeclared (first use in this function)
tinypy.c:6414: error: too many arguments to function 'calloc'

Please use labels and text to provide additional information.

blob, embedding, libtinypy.a

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Nov 11, 2009, 6:07:11 AM11/11/09
to tin...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 45 by ybc2084: build libtinypy.a error for embedding
http://code.google.com/p/tinypy/issues/detail?id=45

I have fixed this bug and tested it.

Reply all
Reply to author
Forward
0 new messages