Hei!

I have a problem compiling licq under FreeBSD 4.5-STABLE:

socket.o: In function `INetSocket::Error(void)':
socket.o(.text+0x3b8): undefined reference to `ProxyServer::Error(void)'
socket.o: In function `INetSocket::ErrorStr(char *, int)':
socket.o(.text+0x452): undefined reference to
`ProxyServer::ErrorStr(char *, int)'
socket.o: In function `INetSocket::OpenConnection(void)':
socket.o(.text+0x850): undefined reference to
`ProxyServer::OpenConnection(void)'
icqd.o: In function `CICQDaemon::InitProxy(void)':
icqd.o(.text+0x1cf3): undefined reference to
`ProxyServer::ProxyServer(void)'
icqd.o(.text+0x1cfa): undefined reference to `HTTPProxyServer virtual
table'
icqd.o(.text+0x1d54): undefined reference to
`ProxyServer::SetProxyAddr(char const *, unsigned short)'
icqd.o(.text+0x1d75): undefined reference to `ProxyServer::ErrorStr(char
*, int)'
icqd.o(.text+0x1de6): undefined reference to
`ProxyServer::SetProxyAuth(char const *, char const *)'

proxy.cpp is listed in src/Makefile.am (licq_SOURCES =), but not in
src/Makefile after running ./configure.

I have to change:

licq_SOURCES = licq.cpp main.cpp \
         icqpacket.cpp socket.cpp icqd.cpp \

to

licq_SOURCES = licq.cpp main.cpp \
         icqpacket.cpp proxy.cpp socket.cpp icqd.cpp \

and

add it to the "am_licq_OBJECTS"-list:

am_licq_OBJECTS = licq.$(OBJEXT) main.$(OBJEXT) icqpacket.$(OBJEXT)
proxy.$(OBJEXT) \

With this changes of src/Makefile licq does compile.

Sorry if this is e-mail is garbage. Maybe there is something wrong on
my system.


Regards,
Herbert


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to