bugAVR In-System Programmer - Bugs: bug #18564, Compilation under cygwin does not...

 
 

bug #18564: Compilation under cygwin does not work

Submitter:  None
Submitted:  Wed 20 Dec 2006 09:50:40 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  * -email is unavailable- Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 20 Dec 2006 09:50:40 AM UTC, original submission:  

Hello,

I use windows xp, cygwin, gcc 3.2, uisp-20050207 and following commands:
./bootstrap
./configure <- here i get "eval" error about missing '"'
make

linking fails with following:
-----------------
.
.
.
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -g -O2 -MT Terminal.o -MD -M
P -MF ".deps/Terminal.Tpo" \
  -c -o Terminal.o `test -f 'Terminal.C' || echo './'`Terminal.C; \
then mv -f ".deps/Terminal.Tpo" ".deps/Terminal.Po"; \
else rm -f ".deps/Terminal.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -Werror -g -O2 -MT cygwinp.o -MD -MP
 -MF ".deps/cygwinp.Tpo" \
  -c -o cygwinp.o `test -f 'cygwinp.C' || echo './'`cygwinp.C; \
then mv -f ".deps/cygwinp.Tpo" ".deps/cygwinp.Po"; \
else rm -f ".deps/cygwinp.Tpo"; exit 1; \
fi
g++ -Wall -Werror -g -O2   -o uisp.exe  Avr.o AvrAtmel.o AvrDummy.o DAPA.o Main.
o MotIntl.o Serial.o Stk500.o Terminal.o cygwinp.o
Avr.o: In function `ZN4TAvr16GetWritePageSizeEv':
/cygdrive/c/V/temp/uisp-20050207/src/Avr.C:138: undefined reference to `__assert
'
Avr.o: In function `ZN7TDeviceD0Ev':
/cygdrive/c/V/temp/uisp-20050207/src/Global.h:(.eh_frame+0x11): undefined refere
nce to `__gxx_personality_v0'
AvrAtmel.o: In function `ZN9TAvrAtmelC2Ev':
/cygdrive/c/V/temp/uisp-20050207/src/AvrAtmel.C:532: undefined reference to `_Un
wind_Resume'
AvrAtmel.o: In function `ZN9TAvrAtmelC1Ev':
/cygdrive/c/V/temp/uisp-20050207/src/AvrAtmel.C:532: undefined reference to `_Un
wind_Resume'
AvrAtmel.o: In function `ZN7TDevice12GetPollCountEv':
/cygdrive/c/V/temp/uisp-20050207/src/AvrAtmel.C:(.eh_frame+0x12): undefined refe
rence to `__gxx_personality_v0'
AvrDummy.o: In function `ZN9TAvrDummy22WriteProgramMemoryPageEv':
/cygdrive/c/V/temp/uisp-20050207/src/AvrDummy.C:107: undefined reference to `get
timeofday'
/cygdrive/c/V/temp/uisp-20050207/src/AvrDummy.C:115: undefined reference to `get
timeofday'
/cygdrive/c/V/temp/uisp-20050207/src/AvrDummy.C:120: undefined reference to `get
timeofday'
AvrDummy.o: In function `ZN9TAvrDummy9WriteByteEjhb':
/cygdrive/c/V/temp/uisp-20050207/src/AvrDummy.C:366: undefined reference to `get
timeofday'
/cygdrive/c/V/temp/uisp-20050207/src/AvrDummy.C:447: undefined reference to `get
timeofday'
.
.
.
----------
It looks like missing libraries during linking.

How can I link the UISP correctly ?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code