[Openmcl-devel] Trying to package CCL in Debian (for the ARM architecture)

Administrador Sistemas sistemas at dedaloingenieros.com
Fri May 9 02:21:30 PDT 2014


Hi:

I'm trying to package CCL for ARM in Debian (Wheezy and GCC 4.6) using the 
great work of Faheem Mitha. I've been able to create the package for AMD64 but 
when I tried to build for ARM, I found that FFIGEN at [1] did not support that 
architecture. When I looked at the Subversion tree I found a promising branch 
[2]. Finally, when I tried to build the package, it failed with the next 
message:

---8<------8<------8<------8<------8<------8<------8<---
:
:
gengtype-lex.c:3459:6: warning: no previous prototype for ‘yyset_out’ [-
Wmissing-prototypes]
gengtype-lex.c:3464:5: warning: no previous prototype for ‘yyget_debug’ [-
Wmissing-prototypes]
gengtype-lex.c:3469:6: warning: no previous prototype for ‘yyset_debug’ [-
Wmissing-prototypes]
gengtype-lex.c:3475:5: warning: no previous prototype for ‘yylex_destroy’ [-
Wmissing-prototypes]
/scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l: In 
function ‘yyerror’:
/scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l:594:3: 
error: format not a string literal and no format arguments [-Werror=format-
security]
/scratch/mitchell/gcc-releases/gcc-4.1.0/gcc-4.1.0/gcc/gengtype-lex.l: At top 
level:
gengtype-lex.c:2950:16: warning: ‘input’ defined but not used [-Wunused-
function]
cc1: some warnings being treated as errors
make[4]: *** [build/gengtype-lex.o] Error 1
make[4]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build/gcc'
make[3]: *** [all-gcc] Error 2
make[3]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2/build'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/builder/deb/ccl/ccl-ffigen-1.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc failed
---8<------8<------8<------8<------8<------8<------8<---

My question is, am I using the right branch for ARM?

Greets and thanks in advance.
Rafael J. Alcántara Pérez.

[1]http://svn.clozure.com/publicsvn/ffigen4/trunk/ffigen4
[2]http://svn.clozure.com/publicsvn/ffigen4/branches/ffigen-linuxarm
-- 
+----------
| Departamento de Sistemas <sistemas at dedaloingenieros.com>
| Teléfono fijo: 952 602 959
| Fax: 952 602 959
| Dirección: C/ Afligidos 2, 3º Derecha, 29015 Málaga
| Dédalo Ingenieros, S.L.: http://www.dedaloingenieros.com/
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0x1899F325
+---------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20140509/794cc851/attachment.bin>


More information about the Openmcl-devel mailing list