Hello,
I Tried To Make On SLES, But Failed Giving Following Error.
.........................................................................
make V=1
CPP ../py/qstrdefs.h
gcc -E -I. -I../py -Ibuild -Wall -Werror -Wno-error=cpp -ansi -std=gnu99 -DUNIX -DMICROPY_USE_READLINE=1 -DMICROPY_PY_TIME=1 -DMICROPY_PY_FFI=1 -Os ../py/qstrdefs.h -o build/genhdr/qstrdefs.preprocessed.h
cc1: error: -Werror=cpp: No option -Wcpp
make: *** [build/genhdr/qstrdefs.generated.h] Error 1
.................................................................................
Please Help Me With This.
Thanks,
Kamal
Micro Python Make Error In The unix Directory
-
- Posts: 3
- Joined: Wed Jun 25, 2014 10:40 am
Re: Micro Python Make Error In The unix Directory
Which version of gcc are you using? (i.e. what's the output of gcc --version)
As a quick hack, you could try editing unix/Makefile and find the line that says: and remove the -Wno-error=cpp option.
As a quick hack, you could try editing unix/Makefile and find the line that says:
Code: Select all
CWARN = -Wall -Werror -Wno-error=cpp
-
- Posts: 3
- Joined: Wed Jun 25, 2014 10:40 am
Re: Micro Python Make Error In The unix Directory
Thanks Dave,
I Will Try Yor Suggestions And Let You Know The Out Come.
This Is The gcc -v Out Put On My Machine
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
Thanks,
Kamal
I Will Try Yor Suggestions And Let You Know The Out Come.
This Is The gcc -v Out Put On My Machine
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.3 --enable-linux-futex --without-system-libunwind --with-cpu=generic --build=x86_64-suse-linux
Thread model: posix
gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux)
Thanks,
Kamal
-
- Posts: 3
- Joined: Wed Jun 25, 2014 10:40 am
Re: Micro Python Make Error In The unix Directory
Thanks Dave,
Your Suggestion Worked On SUSE Linux Enterprise Server 11 (x86_64).
Kamal
Your Suggestion Worked On SUSE Linux Enterprise Server 11 (x86_64).
Kamal