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

Re: [microblaze-uclinux]compilation error



Hi,

Comment the 2 lines below in uClinux-dist/include/Makefile

@ln -s /usr/local/include/g++-v3 c++
        @for i in `$(CXX) -v -E -xc++ /dev/null 2>&1 | sed -e '/^Reading
specs/,/^#include <\.\.\.>/d' -e '/
End of search list/Q'`; do \
                if [ -f $$i/new ]; then rm -f c++; ln -s $$i c++; break; fi; \
        done

cheers

Quoting subash bohra <subash_bohra@xxxxxxxxx>:

> Hi,
> After synchronizing with the latest code base I am
> seeing the following failure!!!
>
> ============================================
> make[1]: Entering directory
> `/home/project/csun-prj/uClinux-dist/include'
> find . -depth -type l -a ! -name Makefile | xargs rm >
> /dev/null 2>&1 || exit 0
> find . -depth -type d | grep -v .svn | xargs rmdir >
> /dev/null 2>&1 || exit 0
> Making symlinks in include/
> Making include/c++ symlink to compiler c++ includes
> sed: -e expression #2, char 21: Unknown command: ``Q''
> make[1]: Leaving directory
> `/home/project/csun-prj/uClinux-dist/include'
> make[1]: Entering directory
> `/home/project/csun-prj/uClinux-dist/lib'
> make -j1 -C ../include                 || exit $?
> make[2]: Entering directory
> `/home/project/csun-prj/uClinux-dist/include'
> find . -depth -type l -a ! -name Makefile | xargs rm >
> /dev/null 2>&1 || exit 0
> find . -depth -type d | grep -v .svn | xargs rmdir >
> /dev/null 2>&1 || exit 0
> Making symlinks in include/
> Making include/c++ symlink to compiler c++ includes
> sed: -e expression #2, char 21: Unknown command: ``Q''
> ln: `3.4.1': File exists
> make[2]: *** [all] Error 1
> make[2]: Leaving directory
> `/home/project/csun-prj/uClinux-dist/include'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/home/project/csun-prj/uClinux-dist/lib'
> make: *** [subdirs] Error 1
>
> ============================================
> Has anyone seen the same...
> If yes what is the fix for it.
>
> thanks,
> Subash
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/