GithubHelp home page GithubHelp logo

deanproxy / dlib Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 9.0 74 KB

Just some C utility functions that are used by me

Home Page: http://www.cleancode.org/projects/email

C 91.35% Makefile 2.87% M4 4.16% C++ 1.62%

dlib's People

Contributors

deanproxy avatar iav avatar mikhailnov avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

dlib's Issues

"_FILE_OFFSET_BITS" redefined warning on building under Solarsi 11 sparc

trying to build on Solaris 11.3 on sparc platform got warning:
eMail/dlib$ make gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include -DHAVE_CONFIG_H -c src/dnet.c In file included from src/dnet.c:14:0: /users/iav/eMail/dlib/include/config.h:183:0: warning: "_FILE_OFFSET_BITS" redefined [enabled by default] #define _FILE_OFFSET_BITS 64 ^ In file included from /usr/include/stdio.h:15:0, from src/dnet.c:1: /usr/include/sys/feature_tests.h:204:0: note: this is the location of the previous definition #define _FILE_OFFSET_BITS 32 ^
gcc (GCC) 4.8.2
What there should be, really? 32 of 64?

Wrong .o location when building on Solaris 11 with gcc 4.8.2

Wren make runs in dlib directiry error occures:

gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dnet.c
In file included from src/dnet.c:14:0:
/users/iav/eMail/dlib/include/config.h:183:0: warning: "_FILE_OFFSET_BITS" redefined [enabled by default]
 #define _FILE_OFFSET_BITS 64
 ^
In file included from /usr/include/stdio.h:15:0,
                 from src/dnet.c:1:
/usr/include/sys/feature_tests.h:204:0: note: this is the location of the previous definition
 #define _FILE_OFFSET_BITS 32
 ^
gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dhash.c
gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dlist.c
gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dstrbuf.c
gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dutil.c
gcc -g -O2 -Wall -W -I/users/iav/eMail/dlib -I/users/iav/eMail/dlib/src -I/users/iav/eMail/dlib/include -I../include  -DHAVE_CONFIG_H  -c  src/dvector.c

ar rc libdlib.a src/dnet.o src/dhash.o src/dlist.o src/dstrbuf.o src/dutil.o src/dvector.o

ar: cannot open src/dnet.o: No such file or directory
ar: cannot open src/dhash.o: No such file or directory
ar: cannot open src/dlist.o: No such file or directory
ar: cannot open src/dstrbuf.o: No such file or directory
ar: cannot open src/dutil.o: No such file or directory
ar: cannot open src/dvector.o: No such file or directory
ar: src/dnet.o not found
ar: src/dhash.o not found
ar: src/dlist.o not found
ar: src/dstrbuf.o not found
ar: src/dutil.o not found
ar: src/dvector.o not found
**\* Error code 6```
seems it looks for *.o files in src/ directory, but really they lies in current (dlib/) directory.
ar should look for that files in dlib/, or .o files should be placed in dlib/src/.

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.