Results 1 to 1 of 1
Hi I'm trying to compile a package called microdc2 which is a console based DC++ client. I don't know of any others.
Here's the problem I get when i do ...
- 10-06-2010 #1Just Joined!
- Join Date
- May 2008
- Posts
- 34
help compiling microdc2
Hi I'm trying to compile a package called microdc2 which is a console based DC++ client. I don't know of any others.
Here's the problem I get when i do "make".
Code:then mv -f ".deps/local_flist.Tpo" ".deps/local_flist.Po"; else rm -f ".deps/local_flist.Tpo"; exit 1; fi local_flist.c: In function âwrite_local_file_listâ: local_flist.c:178: warning: dereferencing type-punned pointer will break strict-aliasing rules if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -g -O2 -MT hash.o -MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -Wall -g -O2 -MT charsets.o -MD -MP -MF ".deps/charsets.Tpo" -c -o charsets.o charsets.c; \ then mv -f ".deps/charsets.Tpo" ".deps/charsets.Po"; else rm -f ".deps/charsets.Tpo"; exit 1; fi gcc -Wall -g -O2 -o microdc2 command.o connection.o variables.o fs.o xml_flist.o hub.o huffman.o main.o lookup.o filelist-in.o screen.o search.o user.o util.o tth_file.o local_flist.o hash.o charsets.o common/libcommon.a bzip2/libbzip2.a tth/libtth.a ../lib/libgnu.a -lreadline -ltermcap command.o: In function `cmd_say': /home/admin/microdc2-0.15.5/src/command.c:867: undefined reference to `main_to_utf8_string' /home/admin/microdc2-0.15.5/src/command.c:862: undefined reference to `main_to_utf8_string' hub.o: In function `prepare_chat_string_for_display': /home/admin/microdc2-0.15.5/src/hub.c:411: undefined reference to `try_utf8_to_main_string' filelist-in.o: In function `parse_main': /home/admin/microdc2-0.15.5/src/filelist-in.c:363: undefined reference to `filelist_xml_open' /home/admin/microdc2-0.15.5/src/filelist-in.c:365: undefined reference to `filelist_bzxml_open' user.o: In function `user_handle_command': /home/admin/microdc2-0.15.5/src/user.c:1056: undefined reference to `utf8_to_main_string' collect2: ld returned 1 exit status make[3]: *** [microdc2] Error 1 make[3]: Leaving directory `/home/admin/microdc2-0.15.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/admin/microdc2-0.15.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/admin/microdc2-0.15.5' make: *** [all] Error 2


Reply With Quote