[Freeassociation-devel] compile problem with dpkg-buildpackage
crass at berlios.de
crass at berlios.de
Fri Mar 5 08:41:44 PST 2010
I'm unfamiliar with squeeze, so I don't get that reference. I have
successfully compiled the attached _LibicalWrap.c file using python2.5
headers and the latest svn header files (which haven't changed in a
long time). The fact that I could compile the swig generated output C
file without modification leads me to believe that your version of swig
is not the problem (you are using a newer version than I am, but it
seems fine). Also, it means its not a real syntax error.
So it now sounds like the issue has something to do with a macro being
defined badly or a compiler issue. The only thing I see different
in terms of macros from what is working for me is the -D_GNU_SOURCE,
but I seriously doubt that is the problem.
So there's five things I'd like for you to do to help fix this:
1. Try the most recent SVN (1017).
2. Send me the _LibicalWrap.c after its been preprocessed by gcc with
the "-E" option. Of course you must use all the same options as during
the normal compile (-I, -D, etc..).
3. Send me the name and version of your compiler.
4. A tar.bz2 archive of the failed source compile. I want to make sure
the symlinks are correctly created among other things.
5. Send me the compile compile log starting with "./buildpackages
debian"
This is definitely something which is particular to your environment.
Have you tried the build on other boxes?
On Fri, 05 Mar 2010 02:41:24 -0500
"Wilfried Goesgens" <room_freeassociation-devel at uncensored.citadel.org>
wrote:
> its what squeeze brings. so not that old.
>
> its the python 2.5 run.
> > Do Mär 04 2010 19:57:52 EST von "crass" <crass at berlios.de>
> > Betreff: Re:
> >[Freeassociation-devel] compile problem with dpkg-buildpackage
> >
> > dothebart,
> >
> > What SVN revsion is this from? What version of swig are you
> > using? Can you attach the generated "_LibicalWrap.c" and the source
> > "LibicalWrap.i", so I can see where this syntax error is. Based on
> > the warning below the error, it looks like you haven't updated in a
> > while.
> >
> > Glenn
> >
> > On Thu, 04 Mar 2010 16:57:42 -0500
> > "dothebart" <room_freeassociation-devel at uncensored.citadel.org>
> > wrote:
> >
> >
> >>Crass, please have a look.
> >>
> >> make[2]: Entering directory
> >> `/home/willi/src/citsvn/libical-0.43/build-python2.5/src/python'
> >> /bin/bash ../../libtool --tag=CC --mode=compile
> >> i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../src/python
> >> -I../.. -I../.. -I../.././src -I../../src -I../../../src/libical
> >> -I../../src/libical -I../../../src/libicalss
> >> -I/usr/include/python2.5 -Wall -g -O0 -ggdb -D_GNU_SOURCE -MD
> >> -MP -Wl,--as-needed -Wall -ansi -fPIC -MT _LibicalWrap.lo -MD -MP
> >> -MF .deps/_LibicalWrap.Tpo -c -o _LibicalWrap.lo _LibicalWrap.c
> >> libtool: compile: i486-linux-gnu-gcc -DHAVE_CONFIG_H -I.
> >> -I../../../src/python -I../.. -I../.. -I../../../src -I../../src
> >> -I../../../src/libical -I../../src/libical
> >> -I../../../src/libicalss -I/usr/include/python2.5 -Wall -g -O0
> >> -ggdb -D_GNU_SOURCE -MD -MP -Wl,--as-needed -Wall -ansi -fPIC -MT
> >> _LibicalWrap.lo -MD -MP -MF deps/_LibicalWrap.Tpo -c
> >> _LibicalWrap.c -fPIC -DPIC -o libs/_LibicalWrap.o
> >> _LibicalWrap.c:3275: error: expected identifier or ‘(’ before ‘/’
> >> token _LibicalWrap.c: In function ‘_wrap_icalproperty_set_parent’:
> >> _LibicalWrap.c:40387: warning: implicit declaration of function
> >> ‘icalproperty_set_parent’
> >> make[2]: *** [_LibicalWrap.lo] Error 1
> >> make[2]: Leaving directory
> >> `/home/willi/src/citsvn/libical-0.43/build-python2.5/src/python'
> >> make[1]: *** [all] Error 2
> >>
> >>
>
> >
> >------------------------------------------------------------------------------
> >
> > Download Intel174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Freeassociation-devel mailing list
> > Freeassociation-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freeassociation-devel
More information about the libical-devel
mailing list