This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie question - tmpnam error


Kalai, All,

On Monday 28 January 2013 Kalai Narayanan-SSI wrote:
> I'm trying crosstool-ng for the first time. I have downloaded the latest
> development version for the build. I'm seeing the following error during
> the "Installing final compiler" phase .
> 
> [ERROR]    /share/projects/IP/local_5.8/ct/arm-unknown-linux-uclibcgnueabi/.build/arm-unknown-linux-uclibcgnueabi/build/build-cc-final/arm-unknown-linux-uclibcgnueabi/libstdc++-v3/include/cstdio:136:11: error: '::tmpnam' has not been declared
> [ERROR]    /share/projects/IP/local_5.8/ct/arm-unknown-linux-uclibcgnueabi/.build/arm-unknown-linux-uclibcgnueabi/build/build-cc-final/arm-unknown-linux-uclibcgnueabi/libstdc++-v3/include/cstdio:136:11: error: '::tmpnam' has not been declared
> 
> Is there any specific setting that I should take care of to avoid the above error?

Can you post your .config file, please?
Also, please put your build.log (compresed) on some websie so we can grab
it (don't post build.log to the list, it's too big).
(I vaguely remember the tmpnam issue, but I can't remember the cause, just
that it was a symptom of some deeper issue; build.log will probably have
the answer.)

I see you are building for arm-unknown-linux-uclibcgnueabi. Did you try to
use the bundled sample? That one is known to build.Here's how to use that
sample:
    ct-ng arm-unknown-linux-uclibcgnueabi

And to see what is enabled in this sample:
    ct-ng show-arm-unknown-linux-uclibcgnueabi

And to see all samples:
    ct-ng list-samples

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]