Giter Club home page Giter Club logo

Comments (2)

hintjens avatar hintjens commented on May 28, 2024

Can you double-check that you're using the latest filemq from github?

On Mon, Oct 13, 2014 at 2:14 PM, brousselle [email protected]
wrote:

Hello,

This might a trivial issue ... but i am not able to compile filemq.

Got the following errors:
Making all in src
make[1]: Entering directory /root/git/filemq/src'
make all-am
make[2]: Entering directory/root/git/filemq/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I../include -pedantic -Werror -Wall -Wno-unused
-D_GNU_SOURCE -DLINUX -D_REENTRANT -D_THREAD_SAFE -g -O2 -MT fmq_client.lo
-MD -MP -MF .deps/fmq_client.Tpo -c -o fmq_client.lo fmq_client.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include
-pedantic -Werror -Wall -Wno-unused -D_GNU_SOURCE -DLINUX -D_REENTRANT
-D_THREAD_SAFE -g -O2 -MT fmq_client.lo -MD -MP -MF .deps/fmq_client.Tpo -c
fmq_client.c -fPIC -DPIC -o .libs/fmq_client.o
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include
-pedantic -Werror -Wall -Wno-unused -D_GNU_SOURCE -DLINUX -D_REENTRANT
-D_THREAD_SAFE -g -O2 -MT fmq_client.lo -MD -MP -MF .deps/fmq_client.Tpo -c
fmq_client.c -o fmq_client.o >/dev/null 2>&1
mv -f .deps/fmq_client.Tpo .deps/fmq_client.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99
-DHAVE_CONFIG_H -I. -I../include -pedantic -Werror -Wall -Wno-unused
-D_GNU_SOURCE -DLINUX -D_REENTRANT -D_THREAD_SAFE -g -O2 -MT fmq_msg.lo -MD
-MP -MF .deps/fmq_msg.Tpo -c -o fmq_msg.lo fmq_msg.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../include
-pedantic -Werror -Wall -Wno-unused -D_GNU_SOURCE -DLINUX -D_REENTRANT
-D_THREAD_SAFE -g -O2 -MT fmq_msg.lo -MD -MP -MF .deps/fmq_msg.Tpo -c
fmq_msg.c -fPIC -DPIC -o .libs/fmq_msg.o
In file included from fmq_msg.c:43:0:
../include/fmq_msg.h:115:21: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:119:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:141:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:146:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:151:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:154:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:155:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:158:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:163:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:165:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:166:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:169:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:171:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:172:9: error: unknown type name 'byte'
../include/fmq_msg.h:174:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:175:9: error: unknown type name 'byte'
../include/fmq_msg.h:176:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:177:9: error: unknown type name 'zchunk_t'
../include/fmq_msg.h:180:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:185:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:190:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:195:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:200:1: error: unknown type name 'zmsg_t'
../include/fmq_msg.h:220:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:221:9: error: unknown type name 'zhash_t'
../include/fmq_msg.h:232:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:233:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:239:9: error: unknown type name 'uint64_t'
../include/fmq_msg.h:240:9: error: unknown type name 'byte'
../include/fmq_msg.h:242:9: error: unknown type name 'uint64_t'

[...]

I have tried with :
git clone git://github.com/hintjens/filemq.git
cd filemq
./autogen.sh
./configure && make check
sudo make install
sudo ldconfig

as specified, after installing libsodium, libzmq and czmq in /usr/local .
(from latest git)
I also tried with stable version of libzmq (4.0.4)
and czmq tag 2.2.0

What is my mistake ? Sorry about my poor C skills ... and thanks for your
help.


Reply to this email directly or view it on GitHub
#57.

from filemq.

brousselle avatar brousselle commented on May 28, 2024

humm right :D
got this file updated: src/fmq_msg.c.

This is weird as i did the git clone this morning and last change was beginning of septembre ...

Any way it compiles now !
Thanks a lot for your help
Benoit.

from filemq.

Related Issues (20)

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.