On Mon, Mar 06, 2017 at 05:09:50PM +0100, Åke Rehnman wrote:
> On 2017-03-06 16:20, Geert Stappers wrote:
> >On Mon, Mar 06, 2017 at 02:39:08PM +0100, realclass...@web.de wrote:
> >>I am currently trying to compile UrJTAG using Cygwin
> >>
> >>I am configuring with the following line:
> >>
> >>   ./configure --host=i586-mingw32msvc --with-ftd2xx=~/ftd2 --with-inpout32
> >>
> >>After having added the ftd2xx.h file to the usbconn directories in
> >>/tap and /include as an error message demanded of me, I seem to be
> >>stuck here:
> >>
> >>gcc  -g -O2 -I~/ftd2 -Wall   -o jtag.exe jtag.o -Lcmd -lcmd -Ltap -ltap 
> >>-Lpart
> >>-lpart -Llib -ljtaglib -Lflash -lflash -Ltap -ltap -Lflash -lflash -Lbus 
> >>-lbus
> >>-lm ~/ftd2/ftd2xx.lib -lintl -Lsvf -lsvf -Lbsdl -lbsdl   -lusb
> >>/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: 
> >>cannot find -lpart
> >>/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/../../../../x86_64-pc-cygwin/bin/ld: 
> >>cannot find -lsvf
> >>collect2: Fehler: ld gab 1 als Ende-Status zurück
> >>
> >>As is apparent, the linker seems to be incompatible with libpart.a and 
> >>libsvf.a.
> >>I have added every single "devel" or library package the Cygwin setup 
> >>offers me.
> >>
> >>Does someone know what I am doing wrong?
> >>
> >libsvf and libpart are libraries generated from urjtag source.
> >
> >I don't known how cygwin handles such libraries.
> >
> >My advice is to compare the cygwin buildlog with a Linux buildlog such as
> >at 
> >https://buildd.debian.org/status/fetch.php?pkg=urjtag&arch=arm64&ver=0.10%2Br2052-1&stamp=1481752319&raw=0
> >
> 
> the problem probably arised much earlier where libpart and libsvf
> and was compiled.
> 
> Run make again without cleaning and those errors should be clearly
> visible through all garbage on the console.

And rerunning  configure wouldn't harm.


> As a side note, unless someone has fixed the configure script UrJtag
> doesn't build under cygwin with ftdi-drivers.

These days we do accept patches.


Groeten
Geert Stappers
-- 
Leven en laten leven

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to