graemedouglas / LittleD

A relational database for embedded devices and sensors nodes
Apache License 2.0
726 stars 51 forks source link

Cross Compilation for ARM #12

Open anshulrocks opened 7 years ago

anshulrocks commented 7 years ago

i am trying to compile this code using arm-none-eabi-gcc, and following linking issues i am facing ..

arm-none-eabi-gcc -MM -MF bin/utils/gen_test_relations.d -MP -MT bin/utils/gen_test_relations -Isrc/include -Wall -g -DENABLE_DEBUG src/utils/gen_test_relations.c arm-none-eabi-gcc -Isrc/include -Wall -g -DENABLE_DEBUG -o bin/utils/gen_test_relations src/utils/gen_test_relations.c bin/lib/relation.o bin/lib/tuple.o bin/lib/db_query_mm.o bin/lib/dbstorage.o bin/lib/compare_tuple.o bin/lib/eet.o bin/lib/scan.o bin/lib/select.o bin/lib/project.o bin/lib/ntjoin.o bin/lib/osijoin.o bin/lib/sort.o bin/lib/aggregate.o bin/lib/db_ops.o bin/lib/dbindex.o bin/lib/query_output.o bin/lib/dblexer.o bin/lib/dbparseexpr.o bin/lib/dbcreate.o bin/lib/dbinsert.o bin/lib/dbparser.o d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-exit.o): In function exit': exit.c:(.text.exit+0x2c): undefined reference to_exit' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-fstatr.o): In function _fstat_r': fstatr.c:(.text._fstat_r+0x20): undefined reference to_fstat' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-openr.o): In function _open_r': openr.c:(.text._open_r+0x24): undefined reference to_open' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-sbrkr.o): In function _sbrk_r': sbrkr.c:(.text._sbrk_r+0x18): undefined reference to_sbrk' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-unlinkr.o): In function _unlink_r': unlinkr.c:(.text._unlink_r+0x18): undefined reference to_unlink' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-writer.o): In function _write_r': writer.c:(.text._write_r+0x24): undefined reference to_write' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-closer.o): In function _close_r': closer.c:(.text._close_r+0x18): undefined reference to_close' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-isattyr.o): In function _isatty_r': isattyr.c:(.text._isatty_r+0x18): undefined reference to_isatty' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-lseekr.o): In function _lseek_r': lseekr.c:(.text._lseek_r+0x24): undefined reference to_lseek' d:/armtool/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libg.a(lib_a-readr.o): In function _read_r': readr.c:(.text._read_r+0x24): undefined reference to_read' collect2.exe: error: ld returned 1 exit status make: *** [Makefile:256: bin/utils/gen_test_relations] Error 1

graemedouglas commented 7 years ago

Hi @anshulrocks ,

I have not had the opportunity to compile LittleD for ARM devices. I know that is where the industry has been moving for a few years, but I haven't actively worked on LittleD in some time.

To that point, LittleD is unlikely to be developed further in the future. The research group has in fact moved on to IonDB, with various research efforts to build relational querying on top of that. It is a wonderful project, that I am proud to have helped create and develop, and a lot of potential moving forward.

I know that some researchers were attempting to compile LittleD for ARM at the University of Michigan almost a couple of years ago, along with various other individuals. Check out the other issues, such as this, for instance.

anshulrocks commented 7 years ago

Thanks Alot Sir, for your response, its been 2 months i am searching for a good sqlite that can be well compiled by Arm compiler, but till now no success. Please let me know , if in future you come across the same. And i will have a look on your project IonDb too, as description provided by you seems impressive.

On Sat, Sep 23, 2017 at 3:08 AM, Graeme Douglas notifications@github.com wrote:

Hi @anshulrocks https://github.com/anshulrocks ,

I have not had the opportunity to compile LittleD for ARM devices. I know that is where the industry has been moving for a few years, but I haven't actively worked on LittleD in some time.

To that point, LittleD is unlikely to be developed further in the future. The research group has in fact moved on to IonDB http://iondb.org/, with various research efforts to build relational querying on top of that. It is a wonderful project, that I am proud to have helped create and develop, and a lot of potential moving forward.

I know that some researchers were attempting to compile LittleD for ARM at the University of Michigan almost a couple of years ago, along with various other individuals. Check out the other issues, such as this https://github.com/graemedouglas/LittleD/issues/3, for instance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/graemedouglas/LittleD/issues/12#issuecomment-331566685, or mute the thread https://github.com/notifications/unsubscribe-auth/AVUX92eScfRlk4ixO1XFSB8H8huMtMzbks5slCjcgaJpZM4PdyI6 .