vanrein / asn2quickder Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kimgr/asn1ate
An ASN.1 compiler with a backend for Quick DER (REPO CLOSED AND CODE RELOCATED)
This project forked from kimgr/asn1ate
An ASN.1 compiler with a backend for Quick DER (REPO CLOSED AND CODE RELOCATED)
[ 62%] Building C object test/CMakeFiles/ldap.test.dir/ldapsearch.c.o
cd /home/gijs/arpa2/quick-der/obj-x86_64-linux-gnu/test && /usr/bin/x86_64-linux-gnu-gcc -I/home/gijs/arpa2/quick-der/include -I/home/gijs/arpa2/quick-der/obj-x86_64-linux-gnu/rfc -march=native -O2 -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -o CMakeFiles/ldap.test.dir/ldapsearch.c.o -c /home/gijs/arpa2/quick-der/test/ldapsearch.c
[ 62%] Built target rfc2578_asn1_h
/home/gijs/arpa2/quick-der/test/ldapsearch.c:23:31: fatal error: quick-der/rfc4511.h: No such file or directory
compilation terminated.
I notice that quick-der now seems to bundle it's own https://github.com/vanrein/quick-der/blob/master/python/scripts/asn2quickder
while compiling latest master (version-1.2-2-7-gf3f8f28
) and last release (1.2-2
) in combination with Python 3.6 (2.7 seems to work) i run into troubles:
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/gijs/Work/quick-der/include -I/usr/local/Cellar/python3/3.6.3/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c /Users/gijs/Work/quick-der/python/_quickder.c -o build/temp.macosx-10.12-x86_64-3.6/Users/gijs/Work/quick-der/python/_quickder.o
/Users/gijs/Work/quick-der/python/_quickder.c:73:11: warning: implicit declaration of function 'PyString_FromStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
elem = PyString_FromStringAndSize ((char *)cursori [numcursori].derptr, cursori [numcursori].derlen);
^
/Users/gijs/Work/quick-der/python/_quickder.c:73:11: warning: this function declaration is not a prototype [-Wstrict-prototypes]
/Users/gijs/Work/quick-der/python/_quickder.c:73:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
elem = PyString_FromStringAndSize ((char *)cursori [numcursori].derptr, cursori [numcursori].derlen);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/gijs/Work/quick-der/python/_quickder.c:116:14: warning: implicit declaration of function 'PyString_Check' is invalid in C99 [-Wimplicit-function-declaration]
} else if (PyString_Check (elem)) {
^
/Users/gijs/Work/quick-der/python/_quickder.c:116:14: warning: this function declaration is not a prototype [-Wstrict-prototypes]
/Users/gijs/Work/quick-der/python/_quickder.c:120:4: warning: implicit declaration of function 'PyString_AsStringAndSize' is invalid in C99 [-Wimplicit-function-declaration]
PyString_AsStringAndSize (elem, &buf, &buflen);
^
/Users/gijs/Work/quick-der/python/_quickder.c:120:4: warning: this function declaration is not a prototype [-Wstrict-prototypes]
/Users/gijs/Work/quick-der/python/_quickder.c:136:9: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
retval = PyString_FromStringAndSize ((char *)packed, packedlen);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/gijs/Work/quick-der/python/_quickder.c:195:8: warning: implicit declaration of function 'Py_InitModule' is invalid in C99 [-Wimplicit-function-declaration]
mod = Py_InitModule ("_quickder", der_methods);
^
/Users/gijs/Work/quick-der/python/_quickder.c:195:8: warning: this function declaration is not a prototype [-Wstrict-prototypes]
/Users/gijs/Work/quick-der/python/_quickder.c:195:6: warning: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion]
mod = Py_InitModule ("_quickder", der_methods);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/gijs/Work/quick-der/python/_quickder.c:197:3: error: non-void function 'init_quickder' should return a value [-Wreturn-type]
return;
^
11 warnings and 1 error generated.
Seeing that ASN.1 references symbols all over the place, it is useful to be able to map the notation to a hyperlinked document. HTML is a quick win, but a more general format such as TexInfo is probably better, since it maps to so many other forms.
I won't have the time for it, so you're welcome to pitch in what you've got... it's a great task for a beginning Python programmer, and very useful too :-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.