 |
| Author |
Message |
|
|
Posted: Dec 01, 2011 - 07:28 PM |
|

Joined: Jan 23, 2010
Posts: 84
|
|
Now I tried to compile my C++ and showed me the following error
/home/khukhu/buildroot-avr32-v3.0.0/output/staging/usr/lib/gcc/avr32-unknown-linux-uclibc/4.2.4/../../../../avr32-unknown-linux-uclibc/include/c++/4.2.4/avr32-unknown-linux-uclibc/bits/c++locale.h:111: error: 'vsnprintf' is not a member of 'std'
During compilation of buildroot, I saw vsnprintf at some point. Maybe by default vsnprintf is disabled in compiling buildroot.
So, please share if anyone knows about vsnprintf and whether it is supported in buildroot or not.
Please note that my C++ project is standard JBIG2 library for compression. I have compiled this library and used it from Ubuntu terminal and its working perfectly.So, there is no problem with JBIG2. |
|
|
| |
|
|
|
|
|
Posted: Dec 01, 2011 - 09:15 PM |
|

Joined: Jan 23, 2010
Posts: 84
|
|
Now I tried to compile my C++ project and it showed me the following error.
/home/khukhu/buildroot-avr32-v3.0.0/output/staging/usr/lib/gcc/avr32-unknown-linux-uclibc/4.2.4/../../../../avr32-unknown-linux-uclibc/include/c++/4.2.4/avr32-unknown-linux-uclibc/bits/c++locale.h: In function 'int std::__convert_from_v(int* const&, char*, int, const char*, ...)':
/home/khukhu/buildroot-avr32-v3.0.0/output/staging/usr/lib/gcc/avr32-unknown-linux-uclibc/4.2.4/../../../../avr32-unknown-linux-uclibc/include/c++/4.2.4/avr32-unknown-linux-uclibc/bits/c++locale.h:111: error: 'vsnprintf' is not a member of 'std'
make: *** [jbig2] Error 1
Note: I saw 'vsnprintf' during the compilation of buildroot.
Maybe the support for 'vsnprintf' is off by default and we need to enable 'vsnprintf' using menu config.
Please comment on it if someone knows how to enable 'vsnprintf' using menu config before running make.
My C++ project is a standard JBIG2 compression Library and is available at
http://tpgit.github.com/UnOfficialLeptD ... g2-encoder
I compiled this JBIG2 library in Ubuntu terminal and then compressed many images using it. So it is fully functional. Now I want to compile it for NGW100 and compress images using it on NGW100. |
|
|
| |
|
|
|
|
|
Posted: Dec 15, 2011 - 11:02 PM |
|

Joined: Jan 23, 2010
Posts: 84
|
|
Before deploying the linux image, I want to upgrade the firmware of my NGW100. I tried the following command on the terminal
sudo avr32program erase -fcfi@0
and it showed me the error
sudo: avr32program: command not found
Why no one is responding to my questions?
Am I violating the rules or asking too much simple question?
I am really in big problem, totally confused and very much frustrated.............
please help me. |
|
|
| |
|
|
|
|
|
|
|