Closed GoogleCodeExporter closed 9 years ago
That's probably the location (or existence) of libconfig.h that causes this.
Locate it
and adjust in conf.c. If it is in /usr/include/libconfig/ you can compile with
the
WRT_TARGET define.
Original comment by fatbob.s...@gmail.com
on 20 Apr 2010 at 2:49
ok thanks for that, but now I'm hitting errors on the ssl.c
I tried changing some of where the libraries aimed at but have hit this error
client.h:60: error: expected specifier-qualifier-list before 'SSL_handle_t'
client.c: In function 'Client_getfds':
client.c:81: error: 'client_t' has no member named 'node'
client.c:84: error: 'client_t' has no member named 'txsize'
client.c:84: error: 'client_t' has no member named 'readBlockedOnWrite'
client.c: In function 'Client_janitor':
client.c:97: error: 'client_t' has no member named 'node'
client.c:99: error: 'client_t' has no member named 'availableBandwidth'
client.c:100: error: 'client_t' has no member named 'availableBandwidth'
client.c:101: error: 'client_t' has no member named 'availableBandwidth'
client.c:103: error: 'client_t' has no member named 'lastActivity'
client.c: In function 'Client_codec_add':
client.c:118: error: 'client_t' has no member named 'codecs'
client.c: In function 'Client_codec_free':
client.c:124: error: 'client_t' has no member named 'codecs'
client.c:124: warning: left-hand operand of comma expression has no effect
Original comment by feel_the...@hotmail.com
on 21 Apr 2010 at 1:35
Do you have OpenSSL devel stuff installed? I.e. the header files referenced in
ssl.h
Original comment by fatbob.s...@gmail.com
on 21 Apr 2010 at 3:37
ok, i think I have fixed the OpenSSL problem, but now the files compile but
when the
files are compiled to umurmurd i think I'm getting an issues relating to the
config
file procedures, errors below.
Thanks again
make
cc -I. -Wall -c -o client.o client.c
cc -I. -Wall -c -o main.o main.c
cc -I. -Wall -c -o messages.o messages.c
cc -I. -Wall -c -o pds.o pds.c
cc -I. -Wall -c -o server.o server.c
cc -I. -Wall -c -o ssl.o ssl.c
ssl.c: In function 'SSLi_init':
ssl.c:508: warning: passing argument 1 of 'SSL_CTX_new' discards qualifiers from
pointer target type
cc -I. -Wall -c -o log.o log.c
cc -I. -Wall -c -o conf.o conf.c
cc -I. -Wall -c -o crypt.o crypt.c
cc -I. -Wall -c -o timer.o timer.c
cc -I. -Wall -c -o messagehandler.o messagehandler.c
cc -I. -Wall -c -o channel.o channel.c
cc -I. -Wall -c -o Mumble.pb-c.o Mumble.pb-c.c
cc -I. -Wall -c -o voicetarget.o voicetarget.c
cc -lcrypto -lssl -lconfig client.o main.o messages.o pds.o server.o
ssl.o
log.o conf.o crypt.o timer.o messagehandler.o channel.o Mumble.pb-c.o
voicetarget.o google/protobuf-c/libprotobuf_c.a -o umurmurd
conf.o: In function `Conf_init':
conf.c:(.text+0x18): undefined reference to `config_init'
conf.c:(.text+0x44): undefined reference to `config_read_file'
conf.o: In function `Conf_deinit':
conf.c:(.text+0xbc): undefined reference to `config_destroy'
conf.o: In function `getStrConf':
conf.c:(.text+0x128): undefined reference to `config_lookup'
conf.c:(.text+0x150): undefined reference to `config_setting_get_string'
conf.c:(.text+0x188): undefined reference to `config_lookup'
conf.c:(.text+0x1b0): undefined reference to `config_setting_get_string'
conf.c:(.text+0x1e8): undefined reference to `config_lookup'
conf.c:(.text+0x210): undefined reference to `config_setting_get_string'
conf.c:(.text+0x248): undefined reference to `config_lookup'
conf.c:(.text+0x270): undefined reference to `config_setting_get_string'
conf.c:(.text+0x2a8): undefined reference to `config_lookup'
conf.c:(.text+0x2d0): undefined reference to `config_setting_get_string'
conf.c:(.text+0x308): undefined reference to `config_lookup'
conf.c:(.text+0x330): undefined reference to `config_setting_get_string'
conf.o: In function `getIntConf':
conf.c:(.text+0x414): undefined reference to `config_lookup'
conf.c:(.text+0x448): undefined reference to `config_setting_get_int'
conf.c:(.text+0x460): undefined reference to `config_lookup'
conf.c:(.text+0x494): undefined reference to `config_setting_get_int'
conf.c:(.text+0x4ac): undefined reference to `config_lookup'
conf.c:(.text+0x4d4): undefined reference to `config_setting_get_int'
conf.o: In function `Conf_getNextChannel':
conf.c:(.text+0x568): undefined reference to `config_lookup'
conf.c:(.text+0x590): undefined reference to `config_setting_get_string'
conf.c:(.text+0x5c0): undefined reference to `config_lookup'
conf.c:(.text+0x5e8): undefined reference to `config_setting_get_string'
conf.c:(.text+0x618): undefined reference to `config_lookup'
conf.c:(.text+0x644): undefined reference to `config_setting_get_string'
conf.c:(.text+0x674): undefined reference to `config_lookup'
conf.c:(.text+0x6a0): undefined reference to `config_setting_get_bool'
conf.o: In function `Conf_getNextChannelLink':
conf.c:(.text+0x720): undefined reference to `config_lookup'
conf.c:(.text+0x748): undefined reference to `config_setting_get_string'
conf.c:(.text+0x778): undefined reference to `config_lookup'
conf.c:(.text+0x7a0): undefined reference to `config_setting_get_string'
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../libconfig.so: undefined reference to
`mem_alloc_stub'
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../libconfig.so: undefined reference to
`mem_realloc_stub'
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../libconfig.so: undefined reference to
`log_printf_stub'
/usr/lib/gcc/arm-linux-gnu/4.1.2/../../../libconfig.so: undefined reference to
`mem_free_stub'
collect2: ld returned 1 exit status
make: *** [umurmurd] Error 1
Original comment by feel_the...@hotmail.com
on 22 Apr 2010 at 11:22
You have a problem with linking to libconfig. I have no idea what the problem
is but
libconfig itself also has undefined symbols so your build environment seems
buggy. This
surely isn't a problem with uMurmur.
Original comment by fatbob.s...@gmail.com
on 22 Apr 2010 at 3:48
After installing a few more packages than described, it finally compiled. :)
Thanks
Original comment by feel_the...@hotmail.com
on 24 Apr 2010 at 2:16
Original comment by fatbob.s...@gmail.com
on 1 Sep 2010 at 7:49
Original issue reported on code.google.com by
feel_the...@hotmail.com
on 20 Apr 2010 at 1:23