Am Freitag 20 November 2009 22:39:42 schrieben Sie:
> Michael wrote:
> > Am Freitag 20 November 2009 17:06:34 schrieben Sie:
> >> Hello,
> >
> > Hello,
> >
> >> libfreebobavc/avc_extended_plug_info.cpp: In member function
> >> 'virtual bool
> >> ExtendedPlugInfoPlugNameSpecificData::serialize(IOSSerialize&)':
> >> libfreebobavc/avc_extended_plug_info.cpp:99: error: 'strlen' was
> >> not declared in this scope
> >> libfreebobavc/avc_extended_plug_info.cpp: In member function
> >> 'virtual bool ExtendedPlugInfoInfoType::serialize(IOSSerialize&)':
> >> libfreebobavc/avc_extended_plug_info.cpp:626: error: 'asprintf' was
> >> not declared in this scope
> >> make[2]: *** [libfreebobavc/avc_extended_plug_info.lo] Error 1
> >> make[2]: Leaving directory `/sources/libfreebob-1.0.11/src'
> >> make[1]: *** [all-recursive] Error 1
> >> make[1]: Leaving directory `/sources/libfreebob-1.0.11'
> >> make: *** [all] Error 2
> >
> > Try to include stdio.h in this file:
> > libfreebobavc/avc_extended_plug_info.cpp Maybe that will help.
> >
> >> Thank you for reading
> >> Stephan
> >
> > Greetings Michael
> >
> > ps. #lfs-de irc.linuxfromscratch.org
>
> Thanks for help,
> I've added lines in avc_extended_plug_info.cpp in the first section
> like this:
> 1. #include "stdio.h"
> 2. #include <stdio.h>
> 3. #include <stdio>
> but nothing of this versions does work
>
> Greetings
> Stephan
>
Hello Stephan,
you should add this three to all files that make problems. There are many!
#include <cstring>
#include <stdio.h>
#include <printf.h>
The cause of this error is the change in gcc to be more strictly towards
POSIX99.
Greetings Michael
#lfs-de irc.linuxfromscratch.org
--
"Virtus post nummos. - Die Tugend (kommt) nach dem Geld."
Horaz
Duisburger Linux User Group
Fellow der Free Software Foundation Europe
/"\ ASCII Ribbon Campaign
\ / No HTML/RTF in email
x No Word docs in email
/ \ Respect for open standards
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page