|
#1
[pkgsrc] wip/simulavr 1.00
- 自分の desktop (2013-05-10 update) では package 可能、動作確認可能
- cvs update -dPA な NetBSD/amd64 6.1 の bulkbuild では Fail
gmake[2]: Entering directory `/usr/pkgsrc/wip/simulavr/work/simulavr-1.0.0/examples/simple_ex1'
avr-gcc -g -O2 -mmcu=at90s8515 -c -o fred.o fred.c
avr-gcc -g -O2 -mmcu=at90s8515 -o fred.elf fred.o
/usr/pkg/lib/gcc/avr/4.5.3/../../../../avr/bin/ld:
cannot find crts8515.o: No such file or directory
/usr/pkg/lib/gcc/avr/4.5.3/../../../../avr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
gmake[2]: *** [fred.elf] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/wip/simulavr/work/simulavr-1.0.0/examples/simple_ex1'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/wip/simulavr/work/simulavr-1.0.0/examples'
- swig も足りないらしい
gmake[3]: Entering directory `/usr/pkgsrc/wip/simulavr/work/simulavr-1.0.0/src'
echo "Error: SWIG is not installed. You should
look at http://www.swig.org" ; false -c++ -o simulavr_wrap.cxx ./simulavr.i
Error: SWIG is not installed. You should look at http://www.swig.org
gmake[3]: *** [simulavr_wrap.cxx] Error 1
- ああ、これは avr-libc が足りないのかな、と追加すると、fail
/usr/pkg/bin/swig -c++ -o simulavr_wrap.cxx ./simulavr.i
/bin/sh ../libtool --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/avr/include -g
-O2 -Icmd -Iui -Ihwtimer -MT simulavr_wrap.lo -MD -MP -MF
.deps/simulavr_wrap.Tpo -c -o simulavr_wrap.lo
simulavr_wrap.cxx libtool: compile: c++ -DHAVE_CONFIG_H
-I. -I/usr/pkgsrc/wip/simulavr/work/.buildlink/include -
I/usr/pkgsrc/wip/simulavr/work/.buildlink/include/freetype2
-I/usr /pkgsrc/wip/simulavr/work/.buildlink/avr/include -g -O2
-Icmd -Iui -Ihwtimer -MT simulavr_wrap.lo -MD -MP -MF
.deps/simulavr_wrap.Tpo -c simulavr_wrap.cxx -fPIC -DPIC -o
.libs/simulavr_wrap.o
In file included from /usr/include/g++/bits/gthr-default.h:46:0,
from /usr/include/g++/bits/gthr.h:166,
from /usr/include/g++/ext/atomicity.h:34,
from /usr/include/g++/bits/basic_string.h:41,
from /usr/include/g++/string:53,
from /usr/include/g++/stdexcept:39,
from simulavr_wrap.cxx:1759:
/usr/include/unistd.h:235:20: error: conflicting declaration 'typedef __intptr_t intptr_t'
/usr/pkgsrc/wip/simulavr/work/.buildlink/avr/include/stdint.h:142:17:
error: 'intptr_t' has a previous declaration as 'typedef int16_t intptr_t'
- swig を入れると
/usr/include/g++/bits/fstream.tcc:
In constructor 'std::basic_filebuf<_CharT, _Traits>::basic_filebuf()':
/usr/include/g++/bits/fstream.tcc:81:48: error:
'BUFSIZ' was not declared in this scope simulavr_wrap.cxx:
In function 'int SWIG_AsVal_long_SS_long(Tcl_Interp*, Tcl_Obj*, long long int*)':
simulavr_wrap.cxx:2082:34: error: 'strtoll' was not declared in this scope
gmake[3]: *** [simulavr_wrap.lo] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/wip/simulavr/work/simulavr-1.0.0/src'
| |
最近の日記
2024年05月06日
・py-setuptools (python 3.11.9)
・make release took 1 hours and 10 min
・qemu invocation for 10.99.10
2024年05月05日
・Windows 10 version
・serial connection
・bc bench
2024年05月04日
・Trial on 10.99.10
・another version (later trial) to succeed
2024年04月29日
・dkim
2024年03月10日
・停電 (瞬電)
|