brunodebus/tinq-core — pull request #6 by vmayoral (2014-08-05 22:38:26+00:00)
Title: Running examples

@brunodebus @mouse256 the makefiles need some minor fixes but still there's an error when linking:

``` bash
DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/prof.o ../../src/co/prof.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/hash.o ../../src/co/hash.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/strseq.o ../../src/co/strseq.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/random.o ../../src/co/random.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/nmatch.o ../../src/co/nmatch.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/ipfilter.o ../../src/co/ipfilter.c
gcc -Wall -Wextra -pedantic -Wno-long-long -O3 -g -I../../src/include -I../../api/headers -DFILT_VMWARE -DPTHREADS_USED -DRTPS_USED -DXTYPES_USED -DDDS_BUILTINS -DDDS_IPV6 -DDDS_TYPECODE -DDDS_DYN_IP -c -o ../../src/co/libx.o ../../src/co/libx.c
gcc -o bw main.o ../../src/dds/dds.o ../../src/dds/domain.o ../../src/dds/locator.o ../../src/dds/guid.o ../../src/dds/dds_seq.o ../../src/dds/uqos.o ../../src/dds/guard.o ../../src/xtypes/xtypecode.o ../../src/xtypes/xtypes.o ../../src/xtypes/xdata.o ../../src/xtypes/xcdr.o ../../src/xtypes/tsm.o ../../src/xtypes/pl_cdr.o ../../src/xtypes/pid.o ../../src/xtypes/xtopic.o ../../src/xtypes/builtin.o ../../src/xtypes/vtc.o ../../src/dcps/dcps_main.o ../../src/disc/disc.o ../../src/cache/cache.o ../../src/rtps/rtps_main.o ../../src/rtps/rtps_mux.o ../../src/trans/ip/rtps_ip.o ../../src/trans/ip/ri_udp.o ../../src/trans/ip/ri_dtls.o ../../src/dbg/debug.o ../../src/sql/scan.o ../../src/sql/parse.o ../../src/sql/bytecode.o ../../src/dynip/di_main.o ../../src/dynip/di_linux.o ../../src/co/pool.o ../../src/co/sys.o ../../src/co/error.o ../../src/co/ipc.o ../../src/co/timer.o ../../src/co/sock.o ../../src/co/skiplist.o ../../src/co/str.o ../../src/co/heap.o ../../src/co/md5.o ../../src/co/db.o ../../src/co/handle.o ../../src/co/tty.o ../../src/co/log.o ../../src/co/ctrace.o ../../src/co/thread.o ../../src/co/prof.o ../../src/co/hash.o ../../src/co/strseq.o ../../src/co/random.o ../../src/co/nmatch.o ../../src/co/ipfilter.o ../../src/co/libx.o -lnsl -lrt -g
/usr/bin/ld: ../../src/co/thread.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [bw] Error 1
```

I'm with the OSRF. I'd appreciate if you could get in touch with me (victor at osrfoundation.org).