[GRASS-dev] lib/python/ctypes compilation errors
Huidae Cho
grass4u at gmail.com
Sun Jan 28 09:34:48 PST 2018
Markus,
There are three files with these errors (proj.py, vector.py, and vedit.py)
and two other files (ogsf.py and nviz.py) with the gl.h syntax error.
This is one example (proj.py):
GISRC=/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/demolocation/.grassrc75
GISBASE=/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu
PATH="/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/bin:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/bin:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/scripts:$PATH"
PYTHONPATH="/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/etc/python:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH"
LD_LIBRARY_PATH="/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/bin:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/bin:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/scripts:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/lib:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/lib:/home/geni/usr/local/lib:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/lib:/home/geni/usr/local/lib:/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/lib:"
LC_ALL=C LANG=C LANGUAGE=C ./ctypesgen.py --cpp "gcc -E
-I/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include
-I/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include
-D__GLIBC_HAVE_LONG_LONG" -lgrass_gproj.7.5.svn -I/usr/include
/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include/grass/gprojects.h
/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h
-o OBJ.x86_64-pc-linux-gnu/proj.py
Status: Preprocessing /var/tmp/tmpYfTQ2M.h
Status: gcc -E
-I/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include
-I/home/geni/usr/grass/trunk/dist.x86_64-pc-linux-gnu/include
-D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD -I/usr/include "-Dinline="
"-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const"
"-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" /var/tmp/tmpYfTQ2M.h
Status: Parsing /var/tmp/tmpYfTQ2M.h
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h:117:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h:884:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h:891:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h:946:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h:953:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:63:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:70:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:83:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:90:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:105:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:587:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:599:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:606:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:616:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h:755:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1198:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1204:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1211:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1218:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1226:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1235:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1245:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1261:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1273:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1280:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1287:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1295:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h:1318:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:65:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:77:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:87:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:98:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:144:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:159:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:170:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:172:
Syntax error at ','
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:181:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:183:
Syntax error at ','
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:193:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:203:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:211:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:219:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:239:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:247:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:254:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h:261:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512vlintrin.h:36:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512vlintrin.h:437:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512bwintrin.h:47:
Syntax error at '{'
Error:
/usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512bwintrin.h:61:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/bmi2intrin.h:86:
Syntax error at '__res'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/f16cintrin.h:40:
Syntax error at '{'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/f16cintrin.h:42:
Syntax error at 'return'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/f16cintrin.h:42:
Syntax error at 'i0'
Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/mm3dnow.h:168:
Syntax error at '{'
Status: Processing description list.
Warning: Member "def" of Struct "Option" has been renamed to "_def" because
it has the same name as a Python keyword.
Status: Writing to OBJ.x86_64-pc-linux-gnu/vector.py.
Status: Wrapping complete.
Thanks.
Huidae
On Sun, Jan 28, 2018 at 12:17 PM, Markus Neteler <neteler at osgeo.org> wrote:
> On Sun, Jan 28, 2018 at 4:54 PM, Huidae Cho <grass4u at gmail.com> wrote:
> > Hello,
> >
> > I'm trying to compile the trunk on a new machine and getting these errors
> > when compiling lib/python/ctypes.
>
> Could you please include the ctypes error message?
>
> > I searched this mailing list and found
> > that /usr/include/GL/gl.h.. Syntax error at '\n' is normal (?),
>
> Apparently yes, it happens also on Fedora and elsewhere.
>
> > but what
> > about the others? Regardless of these errors, make reports No errors
> > detected, so can I assume there will be no harm?
> >
> > Error: /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/
> xmmintrin.h:117:
> > Syntax error at '{'
>
> Could you please add more context of the error?
>
> best
> Markus
>
> > These headers have a similar errors with different line numbers:
> > /usr/include/GL/gl.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512bwintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512fintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avx512vlintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/avxintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/bmi2intrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/emmintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/f16cintrin.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/mm3dnow.h
> > /usr/lib64/gcc/x86_64-slackware-linux/5.3.0/include/xmmintrin.h
> >
> > GRASS SVN: Trunk as of Jan 28, 2018
> > Linux: Slackware64 14.2
> > Kernel: 4.14.14
> > GCC: 5.3.0
> >
> > Any ideas what's going on?
> >
> > Thanks!
> > Huidae
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180128/7ea999c1/attachment.html>
More information about the grass-dev
mailing list