Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Problem linking euser.lib for RSocket support

1 replies · 1,898 views · Started 03 November 2004

I was able to build the HelloWorld application and run it on the emulator.
However, when I tried to expand it to use RSocketServ and RSocket,
I can't get it to link successfully.

Also, I had to modify the .mpp to include 'sys/socket.h':
[INDENT] SYSTEMINCLUDE \epoc32\include\libc[/INDENT]

My .mpp file was modified to include (based on the docs):
[INDENT]LIBRARY euser.lib[/INDENT]

I've tried rebuilding the ABLD.BAT using:
[INDENT]bldmake bldfiles[/INDENT]

And I've tried rebuilding the makefiles using:
[INDENT]ABLD -v BUILD WINS UDEB[/INDENT]

Then tried rebuilding and I still have problems with unresolved external symbols:
[INDENT] RSocket::Open(class RSocketServ &,unsigned int,unsigned int,unsigned int)
RSocket::RSocket(void)
RSocketServ::Connect(unsigned int)
RSocketServ::RSocketServ(void)[/INDENT]

Anyone have any ideas?

I figured it out! The documentation is wrong in the
Symbian Development Library.

The docs state that RSocket requires euser.lib
when it's really defined in esock.dll (requiring esock.lib).

=Dan=