Giter VIP home page Giter VIP logo

Comments (3)

sburn avatar sburn commented on September 25, 2024

FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512:

libtool: link: cc -DHAVE_PTHREAD -pthread -DDPS_CONF_DIR="/usr/local/dpsearch/etc" -DDPS_VAR_DIR="/usr/local/dpsearch/var" -DDPS_SHARE_DIR="/usr/local/dpsearch/share" -g -O3 -march=native -mtune=native -I/usr/local/include -I/usr/local/include -o .libs/filler.cgi filler_cgi-filler.o -pthread -pthread ./.libs/libdpsearch.so /usr/home/aiia/dpsearch-git/trunk/src/.libs/libdp.so -L/usr/local/lib -L/usr/local/lib/mysql ./.libs/libdpcharset.so -lpthread ./.libs/libdp.so -lcares -lidn -liconv -lperconaserverclient -lz -lm -pthread -Wl,-rpath -Wl,/usr/local/dpsearch/lib
cc -DHAVE_CONFIG_H -I. -I../include -I./../include -I/usr/local/include -I/usr/local/include -I/usr/local/include/mysql -DHAVE_PTHREAD -pthread -DDPS_CONF_DIR="/usr/local/dpsearch/etc" -DDPS_VAR_DIR="/usr/local/dpsearch/var" -DDPS_SHARE_DIR="/usr/local/dpsearch/share" -g -O3 -march=native -mtune=native -I/usr/local/include -I/usr/local/include -MT indexer-main.o -MD -MP -MF .deps/indexer-main.Tpo -c -o indexer-main.o test -f 'main.c' || echo './'main.c
main.c:714:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (flags |= DPS_FLAG_SORT_POPRANK) flags |= DPS_FLAG_SORT_POPRANK_REV;
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
main.c:714:16: note: place parentheses around the assignment to silence this warning
if (flags |= DPS_FLAG_SORT_POPRANK) flags |= DPS_FLAG_SORT_POPRANK_REV;
^
( )
main.c:714:16: note: use '!=' to turn this compound assignment into an inequality comparison
if (flags |= DPS_FLAG_SORT_POPRANK) flags |= DPS_FLAG_SORT_POPRANK_REV;
^~
!=
main.c:723:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (flags |= DPS_FLAG_SORT_HOPS) flags |= DPS_FLAG_SORT_HOPS_REV;
~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.c:723:16: note: place parentheses around the assignment to silence this warning
if (flags |= DPS_FLAG_SORT_HOPS) flags |= DPS_FLAG_SORT_HOPS_REV;
^
( )
main.c:723:16: note: use '!=' to turn this compound assignment into an inequality comparison
if (flags |= DPS_FLAG_SORT_HOPS) flags |= DPS_FLAG_SORT_HOPS_REV;
^~
!=
main.c:1380:6: error: use of undeclared identifier '_malloc_options'
_malloc_options = "ax3N";
^
2 warnings and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/home/aiia/dpsearch-git/trunk/src
*** Error code 1

Stop.
make[1]: stopped in /usr/home/aiia/dpsearch-git/trunk/src
*** Error code 1

Stop.
make: stopped in /usr/home/aiia/dpsearch-git/trunk

from dataparksearch.

sburn avatar sburn commented on September 25, 2024

Failed to compile under FreeBSD 10.3-RELEASE even with system version of GCC.

from dataparksearch.

Maxime2 avatar Maxime2 commented on September 25, 2024

FreeBSD starting with version 10 has a new memory allocator incompatible with malloc options of previous one.
I have made and pushed changes which fix this issue.
Thank you.

from dataparksearch.

Related Issues (16)

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.