×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    30

    dso and lib files

    Hi
    I have a problem , i compile a lib and i don't see dso files. When i try to generate my app i have a link problem pb due to lack of dso files.
    Is anyone know how to have dso files ;
    My mmp file is :
    TARGET libxcv.lib
    CAPABILITY None
    TARGETTYPE LIB
    UID 0x100039CE 0x1020496F
    /* [+] */ macro _LIB IS_CONT_DLL=0 IS_UIC=1 AC_IS_USE_VUIENV=1 IS_USE_COPE_HISTORY=1 IS_USE_CCOECONTROL=0 __ARM__=1 IS_USE_MOVIE=1 IS_USE_MOVIE_SSM=1 AC_EX_HEADER_ACCORE_H=0 AC_EX_HEADER_ACTYPE_H=0 AC_EX_HEADER_ACALLOC_H=0 AC_EX_HEADER_ACRACCESS_H=0
    // [-] macro IS_CONT_DLL=0 IS_UIC=1 AC_IS_USE_VUIENV=1 IS_USE_COPE_HISTORY=1 IS_USE_CCOECONTROL=0 __ARM__=1 IS_USE_MOVIE=1 IS_USE_MOVIE_SSM=1 AC_EX_HEADER_ACCORE_H=0 AC_EX_HEADER_ACTYPE_H=0 AC_EX_HEADER_ACALLOC_H=0 AC_EX_HEADER_ACRACCESS_H=0
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\libc
    USERINCLUDE src
    SOURCEPATH src
    SOURCE experimental_agx_decrunch_research.cpp
    SOURCE xcDecoder.cpp
    SOURCE xcUnpack.cpp
    SOURCE xcUnpack16.cpp
    SOURCE xcUnpack32.cpp

    i make al the compilation under line command with abld build gcce urel command
    Thanks in advance
    ERIC

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: dso and lib files

    The "LIB" target is a static library, so you won't get a Dynamic library as a result of that build. "DLL" is the dynamic library target.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    30

    Re: dso and lib files

    ok iam agree
    the pb is when i try to change to DLL, i have this kind of error
    undefined reference to `memset'
    how can i resolve ?


    C:\Symbian\9.2\S60_3rd_FP1\Examples\libxcv>abld build gcce urel
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl -D \Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XCV GCCE
    WARNING: Frozen .DEF file \Symbian\9.2\S60_3rd_FP1\Examples\EABI\libxcvU.DEF not
    found - project not frozen
    initialiseConfig: GCCE
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" LIBRARY
    WARNING: Not attempting to create any import libraries.
    When exports are frozen in "\Symbian\9.2\S60_3rd_FP1\Examples\EABI\libxcvU.DEF",
    regenerate Makefile.
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" RESOURCEUREL
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" UREL
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Open(unsigned long)':
    xcdecoder.cpp:(.text+0x2c4): undefined reference to `memset'
    xcdecoder.cpp:(.text+0x3cc): undefined reference to `memset'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Close()':
    xcdecoder.cpp:(.text+0x5c4): undefined reference to `inflateEnd'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Unzip(void*, unsigned long)':
    xcdecoder.cpp:(.text+0x6c4): undefined reference to `inflate'
    xcdecoder.cpp:(.text+0x740): undefined reference to `inflate'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Update(float)':
    xcdecoder.cpp:(.text+0x9f8): undefined reference to `inflateEnd'
    xcdecoder.cpp:(.text+0xa08): undefined reference to `memset'
    xcdecoder.cpp:(.text+0xa34): undefined reference to `inflateInit2_'
    make[1]: *** [\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\GCCE\UREL\libxcv.lib] Erro
    r 1
    make: *** [TARGETXCV] Error 2
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" FINAL CFG=UREL VERBOSE=-s

    C:\Symbian\9.2\S60_3rd_FP1\Examples\libxcv>abld build gcce urel
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl -D \Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XCV GCCE
    WARNING: Frozen .DEF file \Symbian\9.2\S60_3rd_FP1\Examples\EABI\libxcvU.DEF not
    found - project not frozen
    initialiseConfig: GCCE
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" LIBRARY VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" LIBRARY
    WARNING: Not attempting to create any import libraries.
    When exports are frozen in "\Symbian\9.2\S60_3rd_FP1\Examples\EABI\libxcvU.DEF",
    regenerate Makefile.
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" RESOURCEUREL
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    make -s -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Ex
    amples\libxcv\XCV\GCCE\XCV.GCCE" UREL
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Open(unsigned long)':
    xcdecoder.cpp:(.text+0x2c4): undefined reference to `memset'
    xcdecoder.cpp:(.text+0x3cc): undefined reference to `memset'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Close()':
    xcdecoder.cpp:(.text+0x5c4): undefined reference to `inflateEnd'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Unzip(void*, unsigned long)':
    xcdecoder.cpp:(.text+0x6c4): undefined reference to `inflate'
    xcdecoder.cpp:(.text+0x740): undefined reference to `inflate'
    \Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Examples\libxcv\XC
    V\GCCE\UREL\xcDecoder.o: In function `xccDecoder::Update(float)':
    xcdecoder.cpp:(.text+0x9f8): undefined reference to `inflateEnd'
    xcdecoder.cpp:(.text+0xa08): undefined reference to `memset'
    xcdecoder.cpp:(.text+0xa34): undefined reference to `inflateInit2_'
    make[1]: *** [\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\GCCE\UREL\libxcv.lib] Erro
    r 1
    make: *** [TARGETXCV] Error 2
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\Exa
    mples\libxcv\GCCE.make" FINAL CFG=UREL VERBOSE=-s

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: dso and lib files

    did u try including \epoc32\include\libc in your mmp file in the SYSTEMINCLUDE and then include string.h in the files where u r going to use memset..?

    Cheers
    mayank

  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    463

    Re: dso and lib files

    Not only memset, but also various zlib functions.

    You need to link against zlib.lib and also one of the various stdlib implementations, either the default Symbian or OpenC.
    Get Resolvr - The Zeroconf framework for Symbian OS free today. Make your IP networking applications fun and easy to use. http://www.novelinteractions.com/resolvr/
    Proud to be the only autorickshaw owner in Cambridge - http://blog.novelinteractions.com/images/tuktuk.jpg

  6. #6
    Registered User
    Join Date
    Dec 2008
    Posts
    10

    Re: dso and lib files

    static lib projects don't produce dso files. it is for dll only.
    change "LIBRARY yourlib.lib" to "STATICLIBRARY yourlib.lib" in mmp file.
    it may help you.
    Last edited by chuyangguangshin; 2008-12-24 at 00:40.

  7. #7
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    74

    Re: dso and lib files

    Quote Originally Posted by chuyangguangshin View Post
    static lib projects don't produce dso files. it is for dll only.
    change "LIBRARY yourlib.lib" to "STATICLIBRARY yourlib.lib" in mmp file.
    it may help you.
    It also fixed my problem, but have another error: undefined reference to `strncpy'

    Which lib do we need to include? In Emulator build mode, i dn't meet this problem, but Phone build mode, i got that error.

  8. #8
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    74

    Re: dso and lib files

    Now i include LIBRARY estlib.lib, it seems ok, but my dll dn't output lib file when i build it in Phone mode. Any problem?

  9. #9
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: dso and lib files

    Quote Originally Posted by vietdoor View Post
    Now i include LIBRARY estlib.lib, it seems ok, but my dll dn't output lib file when i build it in Phone mode. Any problem?
    you have to Unfreeze your dll project by specifying EXPORTSUNFROZEN

  10. #10
    Regular Contributor
    Join Date
    Nov 2009
    Posts
    74

    Re: dso and lib files

    Quote Originally Posted by skumar_rao View Post
    you have to Unfreeze your dll project by specifying EXPORTSUNFROZEN
    1. Add EXPORTSUNFROZEN to dll project's mmp fille
    2. Build dll project
    3. Select "Freeze Exports" on context menu of dll project
    4. Build dll project again.

    Now, well done. Thnk.

  11. #11
    Registered User
    Join Date
    Aug 2004
    Posts
    11

    Re: dso and lib files

    Thanks guys, I seems to be working for me. I was facing this problem since couple of days.

Similar Threads

  1. lib .dso files missing...
    By GeKI in forum Symbian
    Replies: 5
    Last Post: 2006-12-01, 10:07
  2. missing dso for gsmbas.lib
    By tal.shahar@mobile-mx.com in forum Symbian
    Replies: 1
    Last Post: 2006-08-21, 19:36
  3. Lib and Dso creation
    By deepikamulani in forum Symbian
    Replies: 0
    Last Post: 2006-02-10, 07:28

Posting Permissions

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