GithubHelp home page GithubHelp logo

joede / libezv24 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 316 KB

This library provides an easy to use interface to the serial ports of a linux/unix system.

License: GNU Lesser General Public License v2.1

Makefile 7.15% C 92.85%

libezv24's People

Contributors

joede avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

aminbh111 fanjm95

libezv24's Issues

Does not compile

when cloning and calling "make" this is the output:

$ make
gcc -c -Wall -fPIC -O2 -D__LINUX__  -DFINAL ezV24.c
gcc -c -Wall -fPIC -O2 -D__LINUX__  -DFINAL snprintf.c
snprintf.c: In function ‘v24_vsnprintf.part.0’:
snprintf.c:680:42: warning: ‘s_len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      if (adjust_width && adjust == RIGHT && min_width > s_len) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
gcc -shared -W1,soname,libezV24.so.1 -o libezV24.so.0.1 ezV24.o snprintf.o
gcc: error: unrecognized command line option ‘-W1,soname,libezV24.so.1’
make: *** [Makefile:103: libezV24.so.0.1] Error 1

I guess it is due to -W1 being a number "one" not the letter l.

Changing this makes this output:

$ make
gcc -shared -Wl,soname,libezV24.so.1 -o libezV24.so.0.1 ezV24.o snprintf.o
/usr/bin/ld: cannot find soname: No such file or directory
/usr/bin/ld: cannot find libezV24.so.1: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:103: libezV24.so.0.1] Error 1

Can you help me fix this?

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.