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

 
 

bug #18564: Compilation under cygwin does not work

Submitted by:  None
Submitted on:  Wed 20 Dec 2006 09:50:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup