[Top][All Lists]

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

Re: [avr-gcc-list] simulavr build snaggle

From: Theodore A. Roth
Subject: Re: [avr-gcc-list] simulavr build snaggle
Date: Wed, 13 Aug 2003 09:46:42 -0700 (PDT)

On Wed, 13 Aug 2003, Erik Christiansen wrote:

>    On Debian 3.0, using simulavr version dated 2003-07-02 in ChangeLog,
>    build attempts are held up after:
>    $ bootstrap
>    $ ./configure
>    $ make
>      ...
>    Making all in test_c
>    /usr/local/src/avr/simulavr/test_c
>    make[1]: Entering directory `/usr/local/src/avr/simulavr/test_c'
>    avr-gcc  -g -Wall -mmcu=at90s8515  -o demo  demo.o
>    /usr/local/avr/lib/gcc-lib/avr/3.3/../../../../avr/bin/ld: cannot
>    open crts8515.o: No such file or directory
>    make[1]: *** [demo] Error 1
>    make[1]: Leaving directory `/usr/local/src/avr/simulavr/test_c'
>    make: *** [all-recursive] Error 1

This error usually indicates that either gcc or avr-libc were not
configured properly. They must be configured with the same --prefix

>    Tried:   export LD_RUN_PATH=$LD_RUN_PATH:/usr/local/avr/lib
>    Effect:  None. (Yep, confirmed that that's where crts8515.o lives.)
>    Looking at target "demo" in test_c/Makefile:
>    demo: $(demo_OBJECTS) $(demo_DEPENDENCIES)
>       @rm -f demo
>       $(LINK) $(demo_LDFLAGS) $(demo_OBJECTS) $(demo_LDADD) $(LIBS)
>    I become lost when trying to track back to where crts8515.o is drawn
>    in, so it's hard to figure what to try next.

Try giving gcc the -v option to see where it is looking for the files.

Ted Roth

reply via email to

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