有关动态链接库生成.dso的问题

super_soil 2009-11-22 10:04:58
我初学Symbian 好多都不太懂
在网上下了一个程序 里面用到动态链接库 可是当我用gcce编译的时候 老是生不成.dso 文件
大哥们帮帮我啊 小弟在此谢谢了
...全文
539 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
jmulxg 2009-11-24
  • 打赏
  • 举报
回复
算了,自己去琢磨琢磨吧
理清文件的关系
我资源分不够了。。。
super_soil 2009-11-24
  • 打赏
  • 举报
回复
http://download.csdn.net/source/1450477

carbide 2.0
3rd fp1 sdk

里面名字为btfileengine的文件

谢谢了
jmulxg 2009-11-24
  • 打赏
  • 举报
回复
网上的程序下载地址发下
另外你的开发环境?
super_soil 2009-11-23
  • 打赏
  • 举报
回复

***Bringing project up to date before freezing

***Building project "btfileengine" for configuration "Phone Release (GCCE) [S60_3rd_FP1_4]"

***Printing environment variables modified from default:
PATH=C:\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools;C:\Symbian\9.2\S60_3rd_FP1_4\epoc32\gcc\bin;C:/Program Files/Nokia/Carbide.c++ v2.0/jre/bin/client;C:/Program Files/Nokia/Carbide.c++ v2.0/jre/bin;C:\Perl\bin\;C:\Program Files\PC Connectivity Solution\;C:\qt\qt\bin;C:\Program Files\Nokia\Carbide.c++ v2.0\x86Build\Symbian_Tools\Command_Line_Tools;C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\CSL Arm Toolchain\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;;C:\Program Files\SinoVoice\jTTS 5.0 Desktop\Bin;C:\Perl\bin;C:\qt\qt\bin;d:\Program Files\StormII\Codec;d:\Program Files\StormII
EPOCROOT=\Symbian\9.2\S60_3rd_FP1_4\
NO_DEPENDENCIES=-nd
MAKE=make -j 4

Working Directory: C:/Symbian/Carbide/workspace/btfileengine/group

***Makefile structures up to date. Skipping 'bldmake bldfiles'

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ export
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\EXPORT.make" EXPORT VERBOSE=-s
make: Nothing to be done for `EXPORT'.

Total Time: 0 sec

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ library gcce
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\GCCE.make" LIBRARY VERBOSE=-s
make: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
make[1]: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
make[1]: warning: Clock skew detected. Your build may be incomplete.
make: warning: Clock skew detected. Your build may be incomplete.
make -s -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\BTFILEENGINE\GCCE\BTFILEENGINE.GCCE" LIBRARY
WARNING: Not attempting to create any import libraries.
When exports are frozen in "\Symbian\Carbide\workspace\btfileengine\eabi\SocketEngine.def", regenerate Makefile.

Total Time: 0 sec

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ resource gcce urel
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
make: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
make[1]: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
make[1]: warning: Clock skew detected. Your build may be incomplete.
make: warning: Clock skew detected. Your build may be incomplete.
make -s -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\BTFILEENGINE\GCCE\BTFILEENGINE.GCCE" RESOURCEUREL

Total Time: 1 sec

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ target gcce urel
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\GCCE.make" TARGET CFG=UREL VERBOSE=-s
make: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
make[1]: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:00)
arm-none-symbianelf-ld: \Symbian\9.2\S60_3rd_FP1_4\EPOC32\RELEASE\ARMV5\LIB\btfileengine.dso: No such file: No such file or directory
make[1]: *** [\Symbian\9.2\S60_3rd_FP1_4\EPOC32\RELEASE\GCCE\UREL\btfileengine.dll] Error 1
make: *** [TARGETBTFILEENGINE] Error 2
make -j 4 -s -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\BTFILEENGINE\GCCE\BTFILEENGINE.GCCE" UREL
WARNING: Not attempting to create any import libraries.
When exports are frozen in "\Symbian\Carbide\workspace\btfileengine\eabi\SocketEngine.def", regenerate Makefile.

Total Time: 2 sec

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ final gcce urel
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\GCCE.make" FINAL CFG=UREL VERBOSE=-s
make: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:02)
make: warning: Clock skew detected. Your build may be incomplete.

Total Time: 2 sec

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ test export
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\EXPORTtest.make" EXPORT VERBOSE=-s
Nothing to do

Total Time: 2 sec

***Errors were detected in build. See the Problems or Console view for details.

Total Time: 2 sec

***Freezing project "btfileengine" for configuration "Phone Release (GCCE) [S60_3rd_FP1_4]"
***Makefile structures up to date. Skipping 'bldmake bldfiles'

***Invoking abld command
perl.exe -S ABLD.PL \Symbian\Carbide\workspace\btfileengine\group\ freeze gcce -r
make -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\GCCE.make" FREEZE VERBOSE=-s EFREEZE_ALLOW_REMOVE=1
make: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:02)
make[1]: *** Warning: File `\Symbian\9.2\S60_3rd_FP1_4\epoc32\tools\compilation_config\\GCCE.mk' has modification time in the future (2009-11-25 10:17:49 > 2009-11-23 12:34:02)
WARNING: \Symbian\Carbide\workspace\btfileengine\eabi\SocketEngine.def: File not found - OK if freezing for first time
EFREEZE ERROR: \Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\BTFILEENGINE\GCCE\btfileengine{000a0000}.def: File not found
make[1]: *** [FREEZE] Error 2
make: *** [FREEZEBTFILEENGINE] Error 2
make -j 4 -s -r -f "\Symbian\9.2\S60_3rd_FP1_4\EPOC32\BUILD\Symbian\Carbide\workspace\btfileengine\group\BTFILEENGINE\GCCE\BTFILEENGINE.GCCE" FREEZE EFREEZE_ALLOW_REMOVE=-remove

Total Time: 0 sec

***Freeze Complete

Total Time: 0 sec
btsy2000 2009-11-23
  • 打赏
  • 举报
回复
2、点击要生成DLL的工程,右键弹出菜单,选择freeze exports,会自动在工程下产生eabi目录并生成xxx.def文件;

这一步如果不行,请把错误码粘出来
super_soil 2009-11-23
  • 打赏
  • 举报
回复
写错了 是 还出现了错误
super_soil 2009-11-23
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 jmulxg 的回复:]
1、选择phone release(gcce);
2、点击要生成DLL的工程,右键弹出菜单,选择freeze exports,会自动在工程下产生eabi目录并生成xxx.def文件;若bwins目录下有xxx.def文件,删除之
3、在mmp文件中增加 DEFFILE ..\eabi\xxx.def,既1楼回复的帖子;
4、build

[/Quote]

按照你的方法 还不出现同样的错误 但是编译完后 我的eabi目录下没有生成 xxx.def文件
jmulxg 2009-11-23
  • 打赏
  • 举报
回复
1、选择phone release(gcce);
2、点击要生成DLL的工程,右键弹出菜单,选择freeze exports,会自动在工程下产生eabi目录并生成xxx.def文件;若bwins目录下有xxx.def文件,删除之
3、在mmp文件中增加 DEFFILE ..\eabi\xxx.def,既1楼回复的帖子;
4、build
super_soil 2009-11-23
  • 打赏
  • 举报
回复
帮帮我啊
super_soil 2009-11-23
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 jmulxg 的回复:]
估计是import mmp文件后
carbide mmp文件自动更新导致的

[/Quote]

什么意思 我刚学 不懂
jmulxg 2009-11-23
  • 打赏
  • 举报
回复
估计是import mmp文件后
carbide mmp文件自动更新导致的
super_soil 2009-11-22
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 chenzhp 的回复:]
C/C++ code/*可能因为你的程序有问题,可能因为你的mmp blf文件乱套了,这个时候最好确认mmp blf正确,然后在命令行下编译,完了会自动生成def文件,并且需要在mmp里面加上*/#if defined (WINS)#elif defined (GCC32)
DEFFILE ..\bmarm\SocketEngine.def#else
DEFFILE ..\eabi\SocketE?-
[/Quote]
我把代码 加上了 可是我不会 在命令行上编译 我就直接build了 还是不行
chenzhp 2009-11-22
  • 打赏
  • 举报
回复
/*可能因为你的程序有问题,可能因为你的mmp blf文件乱套了,这个时候最好确认mmp blf正确,然后在命令行下编译,完了会自动生成def文件,并且需要在mmp里面加上*/
#if defined (WINS)
#elif defined (GCC32)
DEFFILE ..\bmarm\SocketEngine.def
#else
DEFFILE ..\eabi\SocketEngine.def
#endif
nostrictdef
此时,会在armv5\lib下面生成对应的dso文件!

3,119

社区成员

发帖
与我相关
我的任务
社区描述
塞班系统(Symbian系统)是塞班公司为手机而设计的操作系统,它的前身是英国宝意昂公司的 EP ( Electronic Piece of cheese)操作系统。
社区管理员
  • Symbian社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧