Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7911553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:17:26+00:00 2026-06-03T13:17:26+00:00

When compiling Atmel example with arm cross-compiler getting : ../at91lib/utility/stdio.c:64:8: error: variable ‘r’ has

  • 0

When compiling Atmel example with arm cross-compiler getting :

../at91lib/utility/stdio.c:64:8: error: variable ‘r’ has initializer but incomplete type

the code is :

struct _reent r = {0, (FILE *) 0, (FILE *) 1, (FILE *) 0};

I don’t know what can I do here since first I need here is to understand what this code must mean?

And then can I re code it for my compiler? Or must I downgrade compiler to some other version?

My version :
arm-unknown-linux-uclibcgnueabi-gcc (Buildroot 2012.05-git-00423-g4205dbd) 4.5.3

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:17:28+00:00Added an answer on June 3, 2026 at 1:17 pm

    From the AT91SAM community:

    It looks like you have to use exactly the right version of compiler:
    To get sam-ba applets to compile under linux you have to use Sourcery
    G++ Lite 2008q3-39 for ARM EABI from
    http://www.codesourcery.com/sgpp/lite/arm/portal/release567 Anything
    newer or older gives (different) errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After compiling the program I am getting below error invalid operands of types int
While compiling the c++ code using android NDK I am getting the following error:
When compiling my wxWidget HelloWorld application, I am getting the following errors: Warning 1
Compiling polygone.h and polygone.cc gives error: polygone.cc:5:19: error: expected constructor, destructor, or type conversion
When compiling C++ with the -fdump-tree-gimple option (GCC 4.6.1), I get code that has
Compiling this example #include <boost/bind.hpp> #include <boost/algorithm/string.hpp> #include <algorithm> #include <iostream> #include <vector> using
When compiling the code below, I get the following error: PersonalInformation is not abstract
When compiling this code I get the following error : In function 'int main()':
While compiling some code I receive the following: error C2018: unknown character '0x40' I
After compiling some code, the compiler generates a bunch of files. I have statistics,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.