I am trying to build latest source on freebsd.
I editied the make
file and replaced make with gmake.
Additionally removed -ldl from top level Makefile.
Added a target for FreeBSD with
echo "#define USE_KQUEUE_HANDLER" > ./src/configure.h
echo "FREEBSD_BUILD = 1" > ./modules/plateform.mk;;
and copied the linux branch in modules/Makefile.
But I recieve:
jsnativestack.o: In function `js::GetNativeStackBaseImpl()':
jsnativestack.cpp:(.text+0x35): undefined reference to `pthread_attr_get_np'
/usr/bin/ld: libmozjs185.so: hidden symbol `pthread_attr_get_np' isn't
defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
gmake[1]: *** [libmozjs185.so] Error 1
gmake[1]: Leaving directory `/usr/home/skoba/ape/deps/js/src'
gmake: *** [default] Error 2
gcc -D_GNU_SOURCE -Wall -g -minline-all-stringops -rdynamic -I
./deps/udns-0.0.9/ src/entry.c src/sock.c src/hash.c src/handle_http.c
src/cmd.c src/users.c src/channel.c src/config.c src/json.c
src/json_parser.c src/plugins.c src/http.c src/extend.c src/utils.c
src/ticks.c src/base64.c src/pipe.c src/raw.c src/events.c
src/event_kqueue.c src/event_epoll.c src/event_select.c src/transports.c
src/servers.c src/dns.c src/sha1.c src/log.c src/parser.c src/md5.c -o
bin/aped -lm -lpthread ./deps/udns-0.0.9/libudns.a -I ./deps/udns-0.0.9/
src/raw.c: In function 'forge_raw':
src/raw.c:39: warning: format '%li' expects type 'long int', but argument 3
has type 'time_t'
gcc -D_GNU_SOURCE -Wall -g -shared -fPIC -rdynamic
-Wl,-soname,libmod_spidermonkey.so -o lib/libmod_spidermonkey.so
libape-spidermonkey.c -I../deps/js/src/dist/include/ -L../deps/js/src/
-ljs_static -lstdc++
../deps/js/src//libjs_static.a(jsnativestack.o): In function
`js::GetNativeStackBaseImpl()':
jsnativestack.cpp:(.text+0x35): undefined reference to `pthread_attr_get_np'
/usr/bin/ld: lib/libmod_spidermonkey.so: hidden symbol
`pthread_attr_get_np' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
gmake: *** [modules] Error 1
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/