Re: Compiling Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Sorry for the top post but it seems most convenient.

At it says, it cannot find the functions called dlsym, dlclose, dlerror 
and dlopen.

You are probably missing a header file in modules.c or missing some 
directory in the includes search path.

Alberto García Gómez wrote:
> What's happen here:
>
> modules.o: In function `Module_SymX':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:680: undefined reference to
> `dlsym'
> modules.o: In function `Module_Sym':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:658: undefined reference to
> `dlsym'
> modules.o: In function `unload_all_modules':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:1210: undefined reference to
> `dlsym'
> modules.o: In function `Module_free':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:571: undefined reference to
> `dlclose'
> modules.o: In function `module_loadall':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:712: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:713: undefined reference to
> `dlsym'
> modules.o: In function `Module_Unload':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:600: undefined reference to
> `dlsym'
> modules.o: In function `Unload_all_testing_modules':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:500: undefined reference to
> `dlclose'
> modules.o: In function `Unload_all_loaded_modules':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:394: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:443: undefined reference to
> `dlclose'
> modules.o: In function `Init_all_testing_modules':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:358: undefined reference to
> `dlsym'
> modules.o: In function `Module_Create':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:194: undefined reference to
> `dlopen'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:197: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:207: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:246: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:252: undefined reference to
> `dlsym'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:258: undefined reference to
> `dlsym'
> modules.o:/home/ftp/Chat/irc/Unreal3.2/src/modules.c:269: more undefined
> references to `dlsym' follow
> modules.o: In function `Module_Create':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:224: undefined reference to
> `dlclose'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:232: undefined reference to
> `dlclose'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:302: undefined reference to
> `dlerror'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:216: undefined reference to
> `dlclose'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:238: undefined reference to
> `dlclose'
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:210: undefined reference to
> `dlclose'
> modules.o: In function `Module_SymEx':
> /home/ftp/Chat/irc/Unreal3.2/src/modules.c:636: undefined reference to
> `dlsym'
> collect2: ld returned 1 exit status
> make[1]: *** [ircd] Error 1
> make[1]: Leaving directory `/home/ftp/Chat/irc/Unreal3.2/src'
> make: *** [build] Error 2
>
>
> Saludos Fraternales
> _____________________________
> Atte.
> Alberto García Gómez M:.M:.
> Administrador de Redes/Webmaster
> IPI "Carlos Marx", Matanzas. Cuba. 
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>   

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux