Hi, I am building a application on linux. I am getting an error which relates to undefined reference to a function. I had build same on other platform, no error comes. Here is whole error message ... make: Warning: File `linux_i32' has modification time 9.5e+02 s in the future gcc -Dlinux_i32 -fPIC -I/usr/local/actel/actel-dinkum/include - D_ALT_NS=1 -t -mt -o linux_i32/globchat /home/ruchira/windu5/lib.linux_i32/wincrt0.o /home/ ruchira/windu5/ lib.linux_i32/wu.o linux_i32/about.o linux_i32/dispatch.o linux_i32/ globchat.o linux_i 32/init.o linux_i32/misc.o linux_i32/winmain.o linux_i32/def.o -L/home/ ruchira/windu5/ lib.linux_i32 -lwinsock50 -L/home/ruchira/windu5/lib.linux_i32 -lgdi50 -luser50 -lkern el50 -lprnt50 -L/usr/X11R6/lib -lXm -L/usr/X11R6/lib -lXt -lm -ldl - lnsl -lpthread linux_i32/globchat.o(.text+0x1ea): In function `MsgCreate': : undefined reference to `EnumProtocolsA' linux_i32/globchat.o(.text+0x248): In function `MsgCreate': : undefined reference to `EnumProtocolsA' /usr/bin/ld: link errors found, deleting executable `linux_i32/ globchat' /usr/bin/ld: mode elf_i386 /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crt1.o /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crti.o /usr/lib/gcc/i386-redhat-linux/3.4.3/crtbegin.o /home/ruchira/windu5/lib.linux_i32/wincrt0.o /home/ruchira/windu5/lib.linux_i32/wu.o linux_i32/about.o linux_i32/dispatch.o linux_i32/globchat.o linux_i32/init.o linux_i32/misc.o linux_i32/winmain.o linux_i32/def.o -lwinsock50 (/home/ruchira/windu5/lib.linux_i32/libwinsock50.so) -lgdi50 (/home/ruchira/windu5/lib.linux_i32/libgdi50.so) -luser50 (/home/ruchira/windu5/lib.linux_i32/libuser50.so) -lkernel50 (/home/ruchira/windu5/lib.linux_i32/libkernel50.so) -lprnt50 (/home/ruchira/windu5/lib.linux_i32/libprnt50.so) -lXm (/usr/X11R6/lib/libXm.so) -lXt (/usr/X11R6/lib/libXt.so) -lm (/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libm.so) -ldl (/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libdl.so) -lnsl (/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../libnsl.so) /lib/libpthread.so.0 -lgcc_s (/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_s.so) /lib/libc.so.6 (/usr/lib/libc_nonshared.a)elf-init.oS -lgcc_s (/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_s.so) /usr/lib/gcc/i386-redhat-linux/3.4.3/crtend.o /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crtn.o collect2: ld returned 1 exit status make: *** [linux_i32/globchat] Error 1 Can anybody say why it comes and what the solutions? Thanks, Navneet
Collect2 Ld Returned 1 Exit Status Dev C Download
Collect2 Ld Returned 1 Exit Status Dev C Calculator
Jan 19, 2018 What is error: ld returned 1 exit status in program Code: #include int main (void. Collect2: ld returned 1 exit status. By Lorgon Jortle in forum C Programming. Last Post:, 08:18 PM. ERROR collect2: ld returned 1 exit status. By meili100 in forum C Programming Replies: 13 Last Post:, 12:20 PM.