Code Monkey home page Code Monkey logo

ardrone-tool's People

Watchers

 avatar

ardrone-tool's Issues

plftool doesn't compile on ubuntu 11.10

gcc -std=gnu99 -O2 -Wall -Werror -I../libplf  -ggdb -o plftool.o -c plftool.c 
plftool.c: In function ‘write_file’:
plftool.c:149:13: error: variable ‘retval’ set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

gcc -std=gnu99 -O2 -Wall -Werror -I../libplf -ggdb -o ini.o ini.c
ini.c: In function ‘ini_open’:
ini.c:55:12: error: variable ‘read_bytes’ set but not used 
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Patch attached

Original issue reported on code.google.com by [email protected] on 30 Jan 2012 at 1:44

Attachments:

PLF CRC32

good day
Writing you here to ask for little help ( don't know how to contact with you in 
other way). Recently i try to adopt plf extractor for Parrots Bluetooth kit. 
Looks like they have similar structure with some minor changes. Only one 
problem that i have - is CRC.
I don't know with which range of data i should calculate for it. Below i added 
image with cut of file from original Firmware, also attached that binary file. 
Could you point me the range of bytes to obtain CRC ?

p/s/ sorry that using not suitable page for that query.

Thank you.

Original issue reported on code.google.com by [email protected] on 18 Aug 2013 at 8:00

Attachments:

libplf amd64 compilation

1. svn checkout libpdf
2. cd libplf
3. make

this results in:

alex@portable-alex:~/tmp/ArDrone/libplf$ make
gcc -std=gnu99 -O2 -Wall -Werror -MM plf.c > plf.dep 
gcc -std=gnu99 -O2 -Wall -Werror -o plf.o -c plf.c 
gcc -std=gnu99 -O2 -Wall -Werror -MM crc32.c > crc32.dep 
gcc -std=gnu99 -O2 -Wall -Werror -o crc32.o -c crc32.c 
gcc -std=gnu99 -O2 -Wall -Werror -MM gzip.c > gzip.dep 
gcc -std=gnu99 -O2 -Wall -Werror -o gzip.o -c gzip.c 
gcc -shared -o libplf.so plf.o crc32.o gzip.o -lz 
/usr/bin/ld: plf.o: relocation R_X86_64_32 against `.rodata' can not be used 
when making a shared object; recompile with -fPIC
plf.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libplf.so] Erreur 1

Attached is a trivial patch solving the issue.

Original issue reported on code.google.com by [email protected] on 19 Jan 2011 at 11:09

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.