You Are Here:

Community: Developer Discussion Boards

#1 Old Compiling PDIS modules for SDK's Emulator - 2007-02-07, 21:06

Join Date: Dec 2006
Posts: 3
PinoProxy
Offline
Registered User
Hi,

I want to compile the aosocket PDIS module to test my python application that uses it on the emulator but I've not been able to do this.
Because they are C++ extensions to python I learned that I would need to compile the source to be able to use it on the emulator, but couldn't find any help for doing this.

I'm using S60 2nd Edition FP2 WINS SDK on WinXP with VS8. The steps I took were:
  • Loaded the pdis-0.10 source into the C:\Symbian\8.0a\S60_2nd_FP2\Series60Ex folder
  • Ran the "bldmake bldfiles" command in C:\Symbian\8.0a\S60_2nd_FP2\Series60Ex\pdis-0.10\symbian\ao-socket\binaries\s60_2nd_fp2
  • Then ran "abld build wins udeb", but this gave me the following error:
Code:
C:\Symbian\8.0a\S60_2nd_FP2\Series60Ex\pdis-0.10\symbian\ao-socket\binaries\s60_2nd_fp2>abld build wins udeb
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\EXPORT.make" EXPORT VERBOSE=-s
Nothing to do
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\WINS.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl  -D \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET   WINS
WARNING: Frozen .DEF file \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\BWINS\AOSOCKETNATIVENEWU.DEF not found - project not frozen
WARNING: \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET.MMP(10) : SYSTEMINCLUDE path "\Symbian\8.0a\S60_2nd_FP2\EPOC32\..\PYTHON-PORT-S60\SYMBIAN_PYTHON
\SYMBIAN\" not found

WARNING: \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET.MMP(11) : SYSTEMINCLUDE path "\Symbian\8.0a\S60_2nd_FP2\EPOC32\..\PYTHON-PORT-S60\SYMBIAN_PYTHON
\INCLUDE\" not found

WARNING: \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET.MMP(12) : SYSTEMINCLUDE path "\Symbian\8.0a\S60_2nd_FP2\EPOC32\..\PYTHON-PORT-S60\SYMBIAN_PYTHON
\PYTHON\" not found

ERROR: failed to find version information for LINK.EXE
make: *** [MAKEFILEAOSOCKET] Error 76
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\WINS.make" LIBRARY VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS" LIBRARY
NMAKE : fatal error U1052: file '\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS' not found
Stop.
make: *** [LIBRARYAOSOCKET] Error 2
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\WINS.make" RESOURCE CFG=UDEB VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS" RESOURCEUDEB
NMAKE : fatal error U1052: file '\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS' not found
Stop.
make: *** [RESOURCEAOSOCKET] Error 2
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\WINS.make" TARGET CFG=UDEB VERBOSE=-s
nmake -nologo -x - -s  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS" UDEB
NMAKE : fatal error U1052: file '\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET\WINS\AOSOCKET.WINS' not found
Stop.
make: *** [TARGETAOSOCKET] Error 2
  make -r  -f "\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\WINS.make" FINAL CFG=UDEB VERBOSE=-s
Can someone please tell me what I'm doing wrong or what I should be doing to be able to use this module on the emulator?

Any help will be greatly appreciated.
Thanks in advance.
Reply With Quote

#2 Old Re: Compiling PDIS modules for SDK's Emulator - 2007-02-12, 14:50

Join Date: Nov 2004
Posts: 14
terohiit
Offline
Registered User
Quote:
Originally Posted by PinoProxy
Code:
WARNING: \SYMBIAN\8.0A\S60_2ND_FP2\SERIES60EX\PDIS-0.10\SYMBIAN\AO-SOCKET\BINARIES\S60_2ND_FP2\AOSOCKET.MMP(10) : SYSTEMINCLUDE path "\Symbian\8.0a\S60_2nd_FP2\EPOC32\..\PYTHON-PORT-S60\SYMBIAN_PYTHON
\SYMBIAN\" not found
Can someone please tell me what I'm doing wrong or what I should be doing to be able to use this module on the emulator?
It looks like you'd at least need to adjust the SYSTEMINCLUDE path in the .mmp file. The older Python SDKs had their includes in a location different from the current ones. Try

systeminclude \epoc32\include\python
Reply With Quote

#3 Old Re: Compiling PDIS modules for SDK's Emulator - 2007-02-12, 15:17

Join Date: May 2006
Posts: 622
Location: Oulu, Finland
lfd
Offline
Super Contributor
Hi PinoProxy,

Please give us the content of your .mmp and also your bld.inf.

Quote:
ERROR: failed to find version information for LINK.EXE
It seems that your system is not able to localize the compiler. If you have VS use the VS command prompt, not the normal prompt. This might solve the compiler path issue.

Also, have you put the PyS60 SDK files on your SDK installation?

Remember that every time you make a modification on the project declaration files you have to clean your project:

Code:
...\>abld clean
...\>abld reallyclean
...\>bldmake bldfiles
...
Finally like terohiit said before, SDK files are in a different location. By default put in your .mmp:
Code:
SYSTEMINCLUDE                           \epoc32\include
SYSTEMINCLUDE                           \epoc32\include\libc
SYSTEMINCLUDE                           \epoc32\include\python
LFD


Devices:
Nokia E61 3rd Edition - pys60 1.4.0

Tips and modules:
http://www.lfdm.net/thesis
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
WLAN Connection from Emulator capri07 Mobile Java Networking & Messaging & Security 4 2007-12-13 06:13
Error in emulator compiling. (Image inside) yogoni Mobile Java Tools & SDKs 1 2007-01-02 18:21
some problem when using network on emulator xhsoldier Symbian Networking & Messaging 9 2006-12-06 07:16
does well on armi why SO many errors in emulator compiling? palmelf.christ General Symbian C++ 4 2006-11-15 09:44
Compiling for emulator target (DevKit 9.3) johnsson Symbian Tools & SDKs 5 2006-06-30 14:50

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia