From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32491 invoked by alias); 21 Aug 2006 06:52:09 -0000 Received: (qmail 32483 invoked by uid 22791); 21 Aug 2006 06:52:08 -0000 X-Spam-Check-By: sourceware.org Received: from mail-out.emea.daimlerchrysler.com (HELO mail-out.emea.daimlerchrysler.com) (141.113.102.112) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Aug 2006 06:52:04 +0000 Date: Mon, 21 Aug 2006 06:52:00 -0000 From: mario.aleksic@daimlerchrysler.com Subject: pthreads for Windows CE with Visual Studio 2005 To: pthreads-win32@sourceware.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact pthreads-win32-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sourceware.org X-SW-Source: 2006/txt/msg00045.txt.bz2 Hi all, I'm having troubles building pthreads 2-7-0 for Windows CE with Visual=20 Studio 2005. Although it might seem rather trivial, I'm writing down exactly what I did= =20 so that hopefully someone can tell me where I'm mistaken: - select "New Project" in Visual Studio, project for a smart device, SDK=20 is "QCOM_TIU_TINY" (that's a Qualcomm board, but I had the same issues=20 when selecting "Pocket PC 2003" here), application type "DLL", empty=20 project - add pthread.c to the project - change the following project properties: add "." as include directory,=20 add preprocessor definitions __CLEANUP_C;PTW32_BUILD When I build the project, I get the following error message: ------ Erstellen gestartet: Projekt: pthread, Konfiguration: Release=20 QCOM_TIU_TINY (ARMV4I) ------ Kompilieren... pthread.c c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\pthrea= d.h(1215)=20 : error C2375: '_errno' : redefinition; different linkage =20 c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\need_e= rrno.h(66)=20 : see declaration of '_errno' c:\aleksic\cpp-projects\cvs-aleksic\pthread\wince-test\pthread-q-org\implem= ent.h(661)=20 : fatal error C1083: Cannot open include file: 'process.h': No such file=20 or directory Das Buildprotokoll wurde unter " file://c:\Aleksic\Cpp-projects\cvs-Aleksic\pthread\WinCe-Test\pthread-Q-org= \QCOM_TIU_TINY=20 (ARMV4I)\Release\BuildLog.htm" gespeichert. pthread - 2 Fehler, 0 Warnung(en) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Erstellen: 0 erfolgreich, Fehler bei 1, 0 ak= tuell, 0=20 =FCbersprungen =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Best regards, Mario. -------------------------------------------------------------------------- Mario Aleksic=20 DaimlerChrysler AG=20 Research and Technology=20 Telematics-Functions (REI/VF)=20 mail: HPC: 050-G021, D-71059 Sindelfingen=20 street address: Hanns-Klemm-Stra=DFe 45, 71034 B=F6blingen =20 Phone +49 7031 4389 557=20 Fax +49 7031 4389 214 e-mail: Mario.Aleksic@DaimlerChrysler.com=20 --------------------------------------------------------------------------