Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot

Members: 0
Guests: 37
Stats
Files
Topics
Posts
Members
Newest Member
489
3,791
19,644
596
Elwood

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » General » Coding » Collect 2 error ld returned
Forum Rules | Mark all | Recent Posts

Collect 2 error ld returned
< Newer Topic :: Older Topic > MSDP protocol snippet

Pages:<< prev 1 next >>
Post is unread #1 Mar 28, 2018 7:50 am   Last edited Mar 28, 2018 7:52 am by Vladaar
Go to the top of the page
Go to the bottom of the page

Vladaar
Apprentice
GroupMembers
Posts57
JoinedNov 24, 2016

 
Anyone know what I might be missing in my dependencies or Makefile to get Kavir MSDP done. Compiles clean until it tries linking.

GNU ld (GNU Binutils for Ubuntu) 2.26.1
Supported emulations:
elf_x86_64
elf32_x86_64
elf_i386
elf_iamcu
i386linux
elf_l1om
elf_k1om
i386pep
i386pe
o/comm.o: In function `write_to_buffer(descriptor_data*, char const*, unsigned long)':
/home/vladaar/Downloads/6D/src/comm.c:1973: undefined reference to `ProtocolOutput(descriptor_data*, char const*, unsigned long*)'
o/genesis.o: In function `do_delete(char_data*, char*)':
/home/vladaar/Downloads/6D/src/genesis.c:1930: undefined reference to `ProtocolNoEcho(descriptor_data*, bool)'
o/genesis.o: In function `nanny_get_name(descriptor_data*, char*)':
/home/vladaar/Downloads/6D/src/genesis.c:2081: undefined reference to `ProtocolNoEcho(descriptor_data*, bool)'
o/genesis.o: In function `genesis(descriptor_data*, char*)':
/home/vladaar/Downloads/6D/src/genesis.c:255: undefined reference to `ProtocolNoEcho(descriptor_data*, bool)'
/home/vladaar/Downloads/6D/src/genesis.c:299: undefined reference to `ProtocolNoEcho(descriptor_data*, bool)'
/home/vladaar/Downloads/6D/src/genesis.c:349: undefined reference to `ProtocolNoEcho(descriptor_data*, bool)'
o/genesis.o:/home/vladaar/Downloads/6D/src/genesis.c:364: more undefined references to `ProtocolNoEcho(descriptor_data*, bool)' follow
collect2: error: ld returned 1 exit status
Makefile:102: recipe for target '6dragons' failed
make[2]: *** [6dragons] Error 1
make[2]: Leaving directory '/home/vladaar/Downloads/6D/src'
Makefile:99: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/vladaar/Downloads/6D/src'
Makefile:123: recipe for target 'clean' failed
make: *** [clean] Error 2

Post is unread #2 Mar 28, 2018 7:11 pm   
Go to the top of the page
Go to the bottom of the page

Vladaar
Apprentice
GroupMembers
Posts57
JoinedNov 24, 2016

 
Holy crap what a brain fart that was.

I got it. My protocolout function didn't match protocoloutput function in protocol.h exactly.

It's in like flyn now.

Pages:<< prev 1 next >>