carbide编译碰到问题mwccsym2.exe: Specified file

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/wulong710/article/details/7337101

编译塞班工程时碰到问题

工程名都为 trunk ,把旧工程删掉,将同名的新工程导入后编译,出现

mwccsym2.exe: Specified file '\Plt.CPP' not found

将trunk改名为trunkOld后编译通过,改回trunk后仍然失败

解决方法如下:

把塞班工具自动创建的中间工程删掉

如我的在:

D:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\BUILD\work\plant_mobilization\trunk

同名文件trunk已经存在,不会自动更新。

删除trunk,在carbide中导入新trunk编译通过。


参考:

http://www.developer.nokia.com/Community/Discussion/showthread.php?137870-Specified-file-%5CSymbian%5C9.1%5C****%5C***%5C****.uid.cpp-not-found



展开阅读全文

编译OpenSSL的64位碰到问题

04-28

环境是WIN2003 64位系统,VC2008,Qt4.7.4源代码,用configure的参数是rn[code=text]-platform win32-msvc2008 -opensource rn-debug -debug-and-release rn-no-phonon rn-fast rn-nomake examples rn-nomake demos rn-no-dsp rn-no-vcproj rn-no-cetest rn-no-s60 rn-qt-sql-odbc -qt-sql-sqlite -plugin-sql-odbc -plugin-sql-sqlite rn-no-qt3support -no-opengl -no-openvg -no-incredibuild-xge rn-openssl[/code]rnrn然后nmake时发生错误:rn[code=text]d:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(96) : error C4430: 缺少类型说明rn符 - 假定为 int。注意: C++ 不支持默认 intrnd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(96) : warning C4183: “QSslCertrnficate_from_X509”: 缺少返回类型;假定为返回“int”的成员函数rnd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(97) : error C2923: “QList”:“rnSslCertificate”不是参数“T”的有效 模板 类型变量rn d:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(96) : 参见“QSslCertifirnate”的声明rnd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(98) : error C2923: “QList”:“rnSslCertificate”不是参数“T”的有效 模板 类型变量rn d:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(96) : 参见“QSslCertifirnate”的声明rnd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(99) : error C4430: 缺少类型说明rn符 - 假定为 int。注意: C++ 不支持默认 intrnd:\qt\4.7.4\src\network\ssl\qsslcertificate_p.h(99) : error C2143: 语法错误 : 缺rn少“,”(在“&”的前面)rnssl\qsslsocket_openssl.cpp(181) : error C2143: 语法错误 : 缺少“;”(在“QSslSocrnetBackendPrivate::QSslCipher_from_SSL_CIPHER”的前面)rnssl\qsslsocket_openssl.cpp(181) : error C4430: 缺少类型说明符 - 假定为 int。注意rn: C++ 不支持默认 intrnssl\qsslsocket_openssl.cpp(182) : error C4430: 缺少类型说明符 - 假定为 int。注意rn: C++ 不支持默认 intrnssl\qsslsocket_openssl.cpp(183) : error C2146: 语法错误 : 缺少“;”(在标识符“crnph”的前面)rnssl\qsslsocket_openssl.cpp(183) : error C2065: “ciph”: 未声明的标识符rn....rnd:\qt\4.7.4\src\network\ssl\qsslsocket_openssl_p.h(91) : error C4430: 缺少类型说rn明符 - 假定为 int。注意: C++ 不支持默认 intrnd:\qt\4.7.4\src\network\ssl\qsslsocket_openssl_p.h(91) : error C2061: 语法错误 :rn 标识符“QSslSocket”rn正在生成代码...rnNMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0rn\VC\BIN\amd64\cl.EXE"”: 返回代码“0x2”rnStop.rnNMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 9.0rn\VC\BIN\amd64\nmake.exe"”: 返回代码“0x2”rnNMAKE : fatal error U1077: “""C:\Program”: 返回代码“0x2”rnStop.rnNMAKE : fatal error U1077: “cd”: 返回代码“0x2”rnStop.rnNMAKE : fatal error U1077: “""C:\Program”: 返回代码“0x2”rnStop.[/code]rnrngoogle,baidu了半天没有一点头绪,哪位给点建议? 论坛

nginx出现No input file specified

02-27

Google了很多,都没有解决。希望CU的朋友帮看看。rnnginx配置如下:rn[code=C/C++]rnuser www www;rnrnworker_processes 8;rnrnerror_log /data1/logs/nginx_error.log crit;rnrnpid /usr/local/webserver/nginx/nginx.pid;rnrn#Specifies the value for maximum file descriptors that can be opened by this process. rnworker_rlimit_nofile 65535;rnrnevents rnrn use epoll;rn worker_connections 65535;rnrnrnhttp rnrn include mime.types;rn default_type application/octet-stream;rnrn #charset gb2312;rn rn server_names_hash_bucket_size 128;rn client_header_buffer_size 32k;rn large_client_header_buffers 4 32k;rn client_max_body_size 8m;rn rn sendfile on;rn tcp_nopush on;rnrn keepalive_timeout 60;rnrn tcp_nodelay on;rnrn fastcgi_connect_timeout 300;rn fastcgi_send_timeout 300;rn fastcgi_read_timeout 300;rn fastcgi_buffer_size 64k;rn fastcgi_buffers 4 64k;rn fastcgi_busy_buffers_size 128k;rn fastcgi_temp_file_write_size 128k;rnrn gzip on;rn gzip_min_length 1k;rn gzip_buffers 4 16k;rn gzip_http_version 1.0;rn gzip_comp_level 2;rn gzip_types text/plain application/x-javascript text/css application/xml;rn gzip_vary on;rnrn #limit_zone crawler $binary_remote_addr 10m;rnrn serverrn rn listen 80;rn server_name bbs.abcd.com;rn index index.html index.htm index.php;rn root /data0/htdocs/bbs;rnrn #limit_conn crawler 20; rn rn location ~ .*\.(php|php5)?$rn rn #fastcgi_pass unix:/tmp/php-cgi.sock;rn fastcgi_pass 127.0.0.1:9000;rn fastcgi_index index.php;rn include fcgi.conf;rn rn rn location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$rn rn expires 30d;rn rnrn location ~ .*\.(js|css)?$rn rn expires 1h;rn rnrn log_format access '$remote_addr - $remote_user [$time_local] "$request" 'rn '$status $body_bytes_sent "$http_referer" 'rn '"$http_user_agent" $http_x_forwarded_for';rn access_log /data1/logs/access.log access;rn rnrn serverrn rn listen 80;rn server_name status.abcd.com;rnrn location / rn stub_status on;rn access_log off;rn rn rnrn[/code]rnrnfastcgi.conf配置:rn[code=C/C++]rnfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;rnfastcgi_param QUERY_STRING $query_string;rnfastcgi_param REQUEST_METHOD $request_method;rnfastcgi_param CONTENT_TYPE $content_type;rnfastcgi_param CONTENT_LENGTH $content_length;rnrnfastcgi_param SCRIPT_NAME $fastcgi_script_name;rnfastcgi_param REQUEST_URI $request_uri;rnfastcgi_param DOCUMENT_URI $document_uri;rnfastcgi_param DOCUMENT_ROOT $document_root;rnfastcgi_param SERVER_PROTOCOL $server_protocol;rnrnfastcgi_param GATEWAY_INTERFACE CGI/1.1;rnfastcgi_param SERVER_SOFTWARE nginx/$nginx_version;rnrnfastcgi_param REMOTE_ADDR $remote_addr;rnfastcgi_param REMOTE_PORT $remote_port;rnfastcgi_param SERVER_ADDR $server_addr;rnfastcgi_param SERVER_PORT $server_port;rnfastcgi_param SERVER_NAME $server_name;rnrn# PHP only, required if PHP was built with --enable-force-cgi-redirectrnfastcgi_param REDIRECT_STATUS 200; rn[/code] rnrnphp.ini相关配置:rn[code=C/C++]cgi.fix_pathinfo=0rndoc_root =[/code]rnrn访问.html出现404rn文件权限为www:www用户rn求助。 论坛

Carbide c/c++编译问题

09-17

各位大虾,请帮忙看看。在build project 的时候出现下面的错误 rnrnrn***Building project "HelloPrj" for configuration "Emulator Debug (WINSCW) [S60_3rd_FP1]" rnrn***Printing environment variables modified from default: rnMWCSYM2INCLUDES=E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK; rnMWSYM2LIBRARIES=E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs rnMWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib; rnPATH=E:\Program Files\Nokia\Carbide.c++ v1.2\x86Build\Symbian_Tools\Command_Line_Tools;C:\Symbian\9.2\S60_3rd_FP1\epoc32\tools;C:\Symbian\9.2\S60_3rd_FP1\epoc32\gcc\bin;E:\ProgramFiles\MINGW\bin >;e:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Common Files\Symbian\Tools;E:\Program Files\Perl\bin\;D:\tools\??\nokia\p2x-8.82-Win32;C:\Program Files\Java\jdk1.5.0_06\bin;C:\Program Files\IBM\CICS Transaction Gateway\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\j2sdk1.4.2_04\bin;C:\Program Files\SecureCRT\;C:\Program Files\jEdit;e:\Program Files\Nokia\CodeWarrior for Symbian v3.1\Bin;e:\Program Files\Nokia\CodeWarrior for Symbian v3.1\Symbian_Tools\Command_Line_Tools; rnEPOCROOT=\Symbian\9.2\S60_3rd_FP1\ rnrnWorking Directory: E:/Symbian/Carbide/workspace/HelloPrj/group rnrnrn***Generating makefiles. rnC:\WINDOWS\system32\cmd.exe /c bldmake bldfiles WINSCW UDEB rnWARNING: EPOCROOT does not specify an existing directory rnBLDMAKE ERROR: Directory "\Symbian\9.2\S60_3rd_FP1\EPOC32\" does not exist rnrnTotal Time: 0 sec rn===Build Command = /c abld build WINSCW UDEB -v=== rnC:\WINDOWS\system32\cmd.exe /c abld build WINSCW UDEB -v rn'abld ' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò rn»òÅú´¦ÀíÎļþ¡£ rn***build returned with exit value = 1 rn***Stopping. Check the Problems view or Console output for errors. rn1 论坛

配置CAS错误No Certificate file specified or invalid file format

07-24

最近公司需要做企业单点登录,这几天在研究CAS,第一步是生成证书到出证书,导入证书,配置tomcat,但是不知到什么原因启动tomcat的时候老是报下面的错误,我配置参考的文章为[url=http://hi.baidu.com/itqixiaozi/blog/item/09a2bf0b7e97c93e6a60fbaa.html][/url] ,后来把证书改为server.keystore还是报同样错误,不知道哪位遇到过同样问题没有。rn我的命令为rnkeytool -genkey -alias examplecas -keypass changeit -keyalg RSA -keystore D:\keys\server.keystorernkeytool -export -alias examplecas -keypass changeit -file d:/keys/server.crt -keystore d:/keys/server.keystorernkeytool -import -alias examplecas -file d:/keys/server.crt -keypass changeit -keystore D:\jdk16\jdk1.6.0_19\jre\lib\security\cacertsLaixiaornrntomcat配置为:rn[code=XML] rn[/code]rnrn错误信息为rn[code=Java]2011-7-24 19:55:44 org.apache.catalina.startup.SetAllPropertiesRule beginrn警告: [SetAllPropertiesRule]Server/Service/Connector Setting property 'clientArnuth' to 'false' did not find a matching property.rn2011-7-24 19:55:44 org.apache.catalina.startup.SetAllPropertiesRule beginrn警告: [SetAllPropertiesRule]Server/Service/Connector Setting property 'keystorrneFile' to 'D:\keys\server.keystore' did not find a matching property.rn2011-7-24 19:55:44 org.apache.catalina.startup.SetAllPropertiesRule beginrn警告: [SetAllPropertiesRule]Server/Service/Connector Setting property 'keystorrnePass' to '111111' did not find a matching property.rn2011-7-24 19:55:45 org.apache.coyote.http11.Http11AprProtocol initrn信息: Initializing Coyote HTTP/1.1 on http-8080rn2011-7-24 19:55:45 org.apache.coyote.http11.Http11AprProtocol initrn严重: Error initializing endpointrnjava.lang.Exception: No Certificate file specified or invalid file formatrn at org.apache.tomcat.jni.SSLContext.setCertificate(Native Method)rn at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:723)rn at org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.javrna:107)rn at org.apache.catalina.connector.Connector.initialize(Connector.java:102rn2)rn at org.apache.catalina.core.StandardService.initialize(StandardService.jrnava:703)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.javrna:838)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:562)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-7-24 19:55:45 org.apache.catalina.core.StandardService initializern严重: Failed to initialize connector [Connector[HTTP/1.1-8443]]rnLifecycleException: Protocol handler initialization failed: java.lang.Exceptionrn: No Certificate file specified or invalid file formatrn at org.apache.catalina.connector.Connector.initialize(Connector.java:102rn4)rn at org.apache.catalina.core.StandardService.initialize(StandardService.jrnava:703)rn at org.apache.catalina.core.StandardServer.initialize(StandardServer.javrna:838)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:538)rn at org.apache.catalina.startup.Catalina.load(Catalina.java:562)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)rn2011-7-24 19:55:45 org.apache.coyote.ajp.AjpAprProtocol initrn信息: Initializing Coyote AJP/1.3 on ajp-8009rn2011-7-24 19:55:45 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 694 msrn2011-7-24 19:55:45 org.apache.catalina.core.StandardService startrn信息: Starting service Catalinarn2011-7-24 19:55:45 org.apache.catalina.core.StandardEngine startrn信息: Starting Servlet Engine: Apache Tomcat/6.0.32rn2011-7-24 19:55:45 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor host-manager.xmlrn2011-7-24 19:55:45 org.apache.catalina.startup.HostConfig deployDescriptorrn信息: Deploying configuration descriptor manager.xmlrn2011-7-24 19:55:45 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory docsrn2011-7-24 19:55:45 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory examplesrn2011-7-24 19:55:45 org.apache.catalina.startup.HostConfig deployDirectoryrn信息: Deploying web application directory ROOTrn2011-7-24 19:55:45 org.apache.coyote.http11.Http11AprProtocol startrn信息: Starting Coyote HTTP/1.1 on http-8080rn2011-7-24 19:55:45 org.apache.coyote.http11.Http11AprProtocol startrn严重: Error starting endpointrnjava.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/???????/??rn?)????í??rn at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:649)rn at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:756)rn at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.jarnva:137)rn at org.apache.catalina.connector.Connector.start(Connector.java:1095)rn at org.apache.catalina.core.StandardService.start(StandardService.java:5rn40)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754rn)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2011-7-24 19:55:45 org.apache.catalina.core.StandardService startrn严重: Failed to start connector [Connector[HTTP/1.1-8443]]rnLifecycleException: service.getName(): "Catalina"; Protocol handler start failrned: java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????rn?/???)????í??rn at org.apache.catalina.connector.Connector.start(Connector.java:1102)rn at org.apache.catalina.core.StandardService.start(StandardService.java:5rn40)rn at org.apache.catalina.core.StandardServer.start(StandardServer.java:754rn)rn at org.apache.catalina.startup.Catalina.start(Catalina.java:595)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.rnjava:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesrnsorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:597)rn at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)rn at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)rn2011-7-24 19:55:45 org.apache.coyote.ajp.AjpAprProtocol startrn信息: Starting Coyote AJP/1.3 on ajp-8009rn2011-7-24 19:55:45 org.apache.catalina.startup.Catalina startrn信息: Server startup in 507 ms[/code] 论坛

没有更多推荐了,返回首页