delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/10/17:45:06

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=fJiChGy
88mrMc6nZICA7dfSaY2nWOzwfUd9165QGFLwqOHYG6CL9h/3/ZKRiLxgzJkmjx1i
0Emrw8r+wMZhh6fBD4omC5eFG+aFgk7XEeraDWXEbJkmINhBLcIQd1uCsu3Bmmb7
vWmwYlZMJVHatbQMH1XYyvU1wHTPzSYE2oVI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=UTWqAneYuBlKT
LLHONHRZTmuAm0=; b=GUFbXxoIztM6w+CKUzQSwxVFunxgIM0ZLgRViOek3j9JW
2T9c6tUTidmqIU8Q5KE2gaqybFJxw5JMom0Su/xFSlzl+iOhR8tuaCvlpXeb37Yh
rg4cjsIIuFwBQ/ZOoIW67WG7cnwiW75bYauFUnz+wOLnLunWRieqmPzZ+erlOw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=tea
X-HELO: mail-pg0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=0lT/J0+evaJ2DcqOw8vy1sPw8wPAe5CdLg76lvWmIjA=; b=lbJ5WcIpX+IQAH2tfHKiVD5kF42mPy15BvD3NAxMrlJXO2YbnCsAx+0V4xQhB0ewOk IKSwSwpVgdtMIjt15kt8RkxC4tydvJOegfuQFqS5vaP26/CwM8bwxP7bmAyPHCrGBitU Z2zdkZ8kOfMHLa6TlIVYrzFJ9niwo2zlTbfWWeZCKc809tFDj0wQjQ0vHvUqYyHfVhPU Ae9We0aVroplzTk5iUx2+DruTA1L3r5shs84cHHpM67lK0eVltflBZ+3w/oQp+elPyEa h4qtzEHcUEq5f6U/slUesPYtN9UYF2P/xUNsYw6SCN4y/OnNbU1cmmI+N989sxZ9SAUJ pAwA==
X-Gm-Message-State: AHPjjUh4MUhXebFMTV7I1PIiqzia5oCTDCfpKamdWv95K/E6DmrSVea3 G8S7zJuJuM0+sIdE5zguc0MDPg05obzx
X-Google-Smtp-Source: ADKCNb6de7zxrHpEDZqf9He6DdT7tGKBdXMPlMM6av5eMSpvyDogELkepCO0jS5fr7OrDX3HELV7FUwVcdj4x41n74Q=
X-Received: by 10.84.231.135 with SMTP id g7mr11452922plk.355.1505079890670; Sun, 10 Sep 2017 14:44:50 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAFWoy7FZt30FaFEog7S9aTMo2u1Kh_YHY-8gyUqjXRDa8R6HwQ@mail.gmail.com>
References: <CAFWoy7FZt30FaFEog7S9aTMo2u1Kh_YHY-8gyUqjXRDa8R6HwQ AT mail DOT gmail DOT com>
From: Keith Christian <keith1christian AT gmail DOT com>
Date: Sun, 10 Sep 2017 15:44:50 -0600
Message-ID: <CAFWoy7HR1QRd+Jgt3DhSKZ_oYKtUeaa6koY_OU=76Tua2WNBNw@mail.gmail.com>
Subject: Re: Compiling the Sqlite3 v 3.20.1 libsqlite3.x.y.dll on Cygwin
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Works now.

Nothing helps like being in the correct directory before running
configure and make   (-:  (-:

I see a few errors, but the small test program works OK.  Cygwin
version and gcc version output below for giggles and grins.


Sun Sep 10 15:33:05 pty2 (KChris0000 AT machine)
/var/kchristian/software/sqlite3/sqlite-autoconf-3200100>uname -a
CYGWIN_NT-6.1-WOW machine 2.9.0(0.317/5/3)  i686 Cygwin


Sun Sep 10 15:42:10 pty2 (KChris0000 AT machine)
/var/kchristian/software/sqlite3/sqlite-autoconf-3200100>gcc --version
gcc (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Sun Sep 10 15:22:59 pty2 (KChris0000 AT machine)
/var/kchristian/software/sqlite3/sqlite-autoconf-3200100/tea>./configure


Sun Sep 10 15:26:49 pty2 (KChris0000 AT machine)
/var/kchristian/software/sqlite3/sqlite-autoconf-3200100/tea>make
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\"
-DPACKAGE_VERSION=\"3.20.1\" -DPACKAGE_STRING=\"sqlite\ 3.20.1\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_sqlite=/\*\*/
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DTCL_THREADS=1 -DSQLITE_THREADSAFE=1
-DMODULE_SCOPE=extern -DHAVE_NO_SEH=1 -DHAVE_CAST_TO_UNION=1
-DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1 -DHAVE_FDATASYNC=1
-DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1
-DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DSQLITE_ENABLE_FTS3=1
-DSQLITE_3_SUFFIX_ONLY=1 -DSQLITE_ENABLE_RTREE=1 -I"./generic"
-I"/usr/include" -I./..    -pipe -O2 -DNDEBUG -Wall   -c `echo
./generic/tclsqlite3.c` -o tclsqlite3.o
./generic/tclsqlite3.c: In function 'DbTraceV2Handler':
./generic/tclsqlite3.c:642:50: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
                                Tcl_NewWideIntObj((Tcl_WideInt)pStmt));
                                                  ^
./generic/tclsqlite3.c:652:26: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
       sqlite3_int64 ns = (sqlite3_int64)xd;
                          ^
./generic/tclsqlite3.c:657:50: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
                                Tcl_NewWideIntObj((Tcl_WideInt)pStmt));
                                                  ^
./generic/tclsqlite3.c:671:50: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
                                Tcl_NewWideIntObj((Tcl_WideInt)pStmt));
                                                  ^
./generic/tclsqlite3.c:683:50: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
                                Tcl_NewWideIntObj((Tcl_WideInt)db));
                                                  ^
In file included from ./generic/tclsqlite3.c:4:0:
./generic/tclsqlite3.c: At top level:
./../sqlite3.c:39653:22: warning: 'sqlite3Win32Wait' defined but not
used [-Wunused-function]
 SQLITE_PRIVATE DWORD sqlite3Win32Wait(HANDLE hObject){
                      ^
rm -f libsqlite3.20.1.dll
gcc -shared -o libsqlite3.20.1.dll tclsqlite3.o -lpthread  -Wl,-ltclstub8.6
: libsqlite3.20.1.dll
If you have documentation to create, place the commands to
build the docs in the 'doc:' target.  For example:
        xml2nroff sample.xml > sample.n
        xml2html sample.xml > sample.html


Keith

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019