simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] SimulAVR Compilation Problem


From: Mattias Wildeman
Subject: Re: [Simulavr-devel] SimulAVR Compilation Problem
Date: Fri, 28 Jan 2005 14:04:28 +0100

I got the ./configure script to work:

It seems that having "avr-readelf" installed somewhere takes
precedence over the "
--with-bfd-path" flag supplied to ./configure. It should probably be
the other way around...

Anyway, i worked around this by copying
"/usr/local/avr/i686-pc-cygwin" to "/cygdrive/c/WinAVR".

BR,
Mattias

Ps. Compilation works fine until it gets to mysocket.cpp: I'm working
on resolving it.

make[2]: Entering directory `/ematwil/simulavrxx-0.8.004/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I/cygdrive/c/WinAVR/i686-pc-cygwin/avr/include -I../src -I ../src  
-O2 -g -O2 -c -o mysocket.lo `test -f mysocket.cpp || echo
'./'`mysocket.cpp
 g++ -DHAVE_CONFIG_H -I/cygdrive/c/WinAVR/i686-pc-cygwin/avr/include
-I../src -I ../src -O2 -g -O2 -c mysocket.cpp  -DPIC -o
.libs/mysocket.o
mysocket.cpp: In member function `void Socket::OpenSocket(int)':
mysocket.cpp:67: error: `inet_pton' undeclared (first use this function)
mysocket.cpp:67: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[2]: *** [mysocket.lo] Error 1
make[2]: Leaving directory `/ematwil/simulavrxx-0.8.004/src'

Ds.



On Fri, 28 Jan 2005 12:35:08 +0100, Mattias Wildeman <address@hidden> wrote:
> Well, i guess i'll have to port it then :) Doing it with the cygwin
> package should be easy (i think...).
> 
> Do you have any example makefiles that were used to build it on linux?
> 
> BR,
> Mattias
> 
> On Fri, 28 Jan 2005 12:26:05 +0100 (MET), Klaus Rudolph
> <address@hidden> wrote:
> > Hi Mattias,
> >
> > > I've been unsuccessful in compiling the simulavrxx-0.8.004 package.
> > > Whenever i try to compile i end up with an error in the
> > > "configuration" phase:
> > >
> > >
> > > I'm running MS Win with the cygwin package and WinAVR binaries
> >
> > Yes, M$ Win is currently not supported. It seems to be no big problem to
> > port it to M$ world but there is no one who want to do it. I personaly have
> > no Windows since years and I would not buy one :-)
> >
> > Regards,
> >    Klaus
> >
> > --
> > Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl
> >
>




reply via email to

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