[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] why I hate autotools
From: |
Joel Sherrill |
Subject: |
Re: [Simulavr-devel] why I hate autotools |
Date: |
Thu, 9 Jul 2009 09:04:38 -0500 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
address@hidden wrote:
/usr/bin/swig -c++ -python -I/usr/include/python2.5 -o pysimulavr_wrap.cpp
../../cvs0708up/src/pysimulavr.i
../../cvs0708up/src/rwmem.h:48: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:52: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:68: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:82: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:93: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:104: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:112: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:122: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:159: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:178: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:193: Warning(362): operator= ignored
../../cvs0708up/src/rwmem.h:207: Warning(362): operator= ignored
I don't see these. Where is this included from when the warning
is tripped? What is the gcc line?
g++ -I../../cvs0708up/src -I/usr/include/python2.5 pysimulavr_wrap.cpp \
simulavr_wrap.o \
/usr/lib/libbfd.a -liberty -lc -lm -lncurses -shared \
-o _pysimulavr.so
simulavr_wrap.o: In function `GetSystemClock':
/home/hennebry/projects/avr/sim/b0708upp/src/simulavr_wrap.cxx:1772: multiple
definition of `GetSystemClock()'
/tmp/ccrqePYw.o:pysimulavr_wrap.cpp:(.text+0x16b9): first defined here
collect2: ld returned 1 exit status
make[2]: *** [_pysimulavr.so] Error 1
make[2]: Leaving directory `/home/hennebry/projects/avr/sim/b0708upp/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hennebry/projects/avr/sim/b0708upp/src'
make: *** [all-recursive] Error 1
The same explicit method is in both simulavr.i and pysimulavr.i:
SystemClock &GetSystemClock() { return SystemClock::Instance(); }
It needs to be moved to a third location and just referenced by the various
language interfaces.
Simple matter of duplicate implementation of method being linked in.
--
Michael Hennebry
address@hidden
"War is only a hobby."
---- Msg sent via CableONE.net MyMail - http://www.cableone.net
--
Joel Sherrill, Ph.D. Director of Research & Development
address@hidden On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
- Re: [Simulavr-devel] why I hate autotools, (continued)
- Re: [Simulavr-devel] why I hate autotools, ThomasK, 2009/07/07
- Re: [Simulavr-devel] why I hate autotools, Joel Sherrill, 2009/07/07
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/07
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/07
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/08
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/08
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/08
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/09
- Re: [Simulavr-devel] why I hate autotools, address@hidden, 2009/07/09