simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Simulavr-devel] simulavr make error on Mac OS X and Linux


From: Dave
Subject: [Simulavr-devel] simulavr make error on Mac OS X and Linux
Date: Tue, 14 Feb 2006 15:03:00 -0800 (PST)

Hello,

I'm trying to install simulavr on Mac OS X (10.3.9)
and Linux, but getting a lot of errors. I already
installed latest versions of binutils, avr libc, and
avrdude on both systems; everthing works fine. I
successfully configured simulavr on both systems, but
I get the following errors during the make step (I'm
writing the Mac OS X errors only):

Making all in src
make  all-recursive
Making all in python
make[3]: Nothing to be done for `all'.
if /bin/sh ../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I/usr/local/avr/include
-I/usr/local/powerpc-apple-darwin7.9.0/avr/include
-I../src -I ../src
-I/System/Library/Frameworks/Tcl.framework/Versions/8.4/Headers
 -O2 -g -O2 -MT application.lo -MD -MP -MF
".deps/application.Tpo" -c -o application.lo
application.cpp; \
then mv -f ".deps/application.Tpo"
".deps/application.Plo"; else rm -f
".deps/application.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I/usr/local/avr/include
-I/usr/local/powerpc-apple-darwin7.9.0/avr/include
-I../src -I ../src
-I/System/Library/Frameworks/Tcl.framework/Versions/8.4/Headers
-O2 -g -O2 -MT application.lo -MD -MP -MF
.deps/application.Tpo -c application.cpp  -fno-common
-DPIC -o .libs/application.o
In file included from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:65,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/include/gcc/darwin/3.3/c++/cstring:87: error:
`strcoll' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:89: error:
`strxfrm' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:90: error:
`strcspn' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:91: error:
`strspn' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:92: error:
`strtok' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:94: error:
`strerror' not declared
/usr/include/gcc/darwin/3.3/c++/cstring:109: error:
`strpbrk' not declared
In file included from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:67,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/include/gcc/darwin/3.3/c++/cstdlib:91: error:
`atexit' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:100: error:
`getenv' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:104: error:
`mblen' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:105: error:
`mbstowcs' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:106: error:
`mbtowc' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:114: error:
`system' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:115: error:
`wcstombs' not declared
/usr/include/gcc/darwin/3.3/c++/cstdlib:116: error:
`wctomb' not declared
In file included from
/usr/local/avr/include/inttypes.h:37,
                 from
/usr/local/avr/include/stdio.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/cstdio:52,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:35,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/local/avr/include/stdint.h:135: error:
conflicting types for `typedef 
   int16_t intptr_t'
/usr/include/ppc/types.h:80: error: previous
declaration as `typedef long int 
   intptr_t'
/usr/local/avr/include/stdint.h:140: error:
conflicting types for `typedef 
   uint16_t uintptr_t'
/usr/include/ppc/types.h:81: error: previous
declaration as `typedef long 
   unsigned int uintptr_t'
In file included from
/usr/include/gcc/darwin/3.3/c++/cstdio:52,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:35,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                from application.h:26,
                 from application.cpp:24:
/usr/local/avr/include/stdio.h:1071: error: parse
error before `__attribute__'
In file included from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:35,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/include/gcc/darwin/3.3/c++/cstdio: In function
`int fflush(...)':
/usr/include/gcc/darwin/3.3/c++/cstdio:99: error:
parse error before `;' token
/usr/include/gcc/darwin/3.3/c++/cstdio:100: error:
`fpos_t' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:108: error:
`fgetpos' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:110: error:
`fopen' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:115: error:
`freopen' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:117: error:
`fseek' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:118: error:
`fsetpos' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:119: error:
`ftell' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:124: error:
`perror' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:129: error:
`remove' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:130: error:
`rename' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:131: error:
`rewind' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:133: error:
`setbuf' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:134: error:
`setvbuf' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:137: error:
`tmpfile' not declared
/usr/include/gcc/darwin/3.3/c++/cstdio:138: error:
`tmpnam' not declared
In file included from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr.h:98,
                 from
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:37,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:98:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_active_p()':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:451:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_once(fflush(...)::__gthread_once_t*,
void (*)())':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:460:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_key_create(__gthread_key_t*, void
(*)(void*))':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:466:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_key_dtor(long unsigned int, void*)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:476:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_key_delete(long unsigned int)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:482:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   void* __gthread_getspecific(long unsigned int)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:488:
error: cannot
  declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int __gthread_setspecific(long unsigned int, const
void*)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:494:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int
__gthread_mutex_lock(fflush(...)::__gthread_mutex_t*)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:503:
error: cannot
   declare static function inside another function
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:
In function `
   int
__gthread_mutex_trylock(fflush(...)::__gthread_mutex_t*)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/gthr-default.h:512:
error: cannot
   declare static function inside another function
In file included from
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:44,
                 from
/usr/include/gcc/darwin/3.3/c++/iosfwd:49,
                 from
/usr/include/gcc/darwin/3.3/c++/bits/stl_algobase.h:70,
                 from
/usr/include/gcc/darwin/3.3/c++/vector:67,
                 from application.h:26,
                 from application.cpp:24:
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:
In function `int 
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)':
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:47:
error: syntax error 
   before `;' token
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:59:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_boolalpha
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:60:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_dec
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:61:
error: field `
 
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_fixed
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:62:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_hex
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:63:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_internal
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:64:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_left
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:65:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_oct
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:66:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_right
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:67:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_scientific
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:68:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_showbase
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:69:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_showpoint
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:70:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_showpos
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:71:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_skipws
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:72:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_unitbuf
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:73:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_uppercase
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:74:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_adjustfield
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:75:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_basefield
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:76:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_floatfield
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:79:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_badbit
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:80:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_eofbit
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:81:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_failbit
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:84:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_app
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:85:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_ate
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:86:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_bin
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:87:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_in'

   in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:88:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_out
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/c++io.h:89:
error: field `
  
__gthread_mutex_unlock(fflush(...)::__gthread_mutex_t*)::__ios_flags::_S_trunc
   ' in local class cannot be static
/usr/include/gcc/darwin/3.3/c++/bits/fpos.h:117:
confused by earlier errors, bailing out
make[3]: *** [application.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

Any help on this matter will be greatly appreaciated.

Thank you.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]