Recently transferred my code from Windows to Linux, and upon recompiling I ran into this strange error:
gcc -lcrypt -o smaug act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o build.o clans.o comm.o comments.o const.o db.o deity.o fight.o handler.o hashstr.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_comm.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o special.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o color.o slay.o antitank.o infochan.o charge.o sharpen.o renumber.o archery.o bank.o alias.o finger.o pfiles.o backup.o liquids.o editor.o newarena.o
act_comm.o(.text+0x2673): In function `do_tell':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1284: undefined reference to `log_printf'
act_comm.o(.text+0x2dc8): In function `do_reply':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1475: undefined reference to `log_printf'
act_comm.o(.text+0x3269): In function `do_retell':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1614: undefined reference to `log_printf'
act_info.o(.text+0x4643): In function `do_hedit':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2208: undefined reference to `log_printf'
act_info.o(.text+0x4ab4): In function `do_hset':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2321: undefined reference to `log_printf'
act_info.o(.text+0x4af3):/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2322: more undefined references to `log_printf' follow
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/usr/share/My Programs/Software Development/smaug/dist/src'
make: *** [all] Error 2
Anyone have any idea what's up?
-Toy
gcc -lcrypt -o smaug act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o build.o clans.o comm.o comments.o const.o db.o deity.o fight.o handler.o hashstr.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_comm.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o special.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o color.o slay.o antitank.o infochan.o charge.o sharpen.o renumber.o archery.o bank.o alias.o finger.o pfiles.o backup.o liquids.o editor.o newarena.o
act_comm.o(.text+0x2673): In function `do_tell':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1284: undefined reference to `log_printf'
act_comm.o(.text+0x2dc8): In function `do_reply':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1475: undefined reference to `log_printf'
act_comm.o(.text+0x3269): In function `do_retell':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_comm.c:1614: undefined reference to `log_printf'
act_info.o(.text+0x4643): In function `do_hedit':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2208: undefined reference to `log_printf'
act_info.o(.text+0x4ab4): In function `do_hset':
/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2321: undefined reference to `log_printf'
act_info.o(.text+0x4af3):/root/My Computer/My Programs/Software Development/smaug/dist/src/act_info.c:2322: more undefined references to `log_printf' follow
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/usr/share/My Programs/Software Development/smaug/dist/src'
make: *** [all] Error 2
Anyone have any idea what's up?
-Toy