S
suppamax
Good morning everyboby!
I'm writing a program in Systemc, that is a c++ library used for
hardware modeling.
I'm using this array
sc_signal<unsigned int > s[WIDTH];
If WIDTH is bigger than a certain value (I don't exactly know it, but
WIDTH
= 9600 is too big) I got this error
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/ccnIC8BQ.s: Assembler
messages:
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/ccnIC8BQ.s:54: Warning:
partial
line at end of file ignored
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/
ccwcOjjg.o:decodeur_tc1000_butterfly
..cpp.text+0x2a): undefined reference to `unsigned int const&
std::min<unsigned int>(unsigned int const&, unsigned int
const&)'
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/
ccwcOjjg.o:decodeur_tc1000_butterfly
..cpp.text+0x8b): undefined reference to `L6'
.../../systemc-2.1.v1/lib-cygwin//
libsystemc.a(sc_main_main.o):sc_main_main.cpp
..text+0xc0): undefined reference to `_sc_main'
collect2: ld returned 1 exit status
make: *** [decodeur_tc1000_butterfly] Error 1
If I use dynamic declaration nothing changes.
I use g++ as compiler.
What's wrong?
Is this a stsyemc problem or a c++ one?
Regards,
Max
I'm writing a program in Systemc, that is a c++ library used for
hardware modeling.
I'm using this array
sc_signal<unsigned int > s[WIDTH];
If WIDTH is bigger than a certain value (I don't exactly know it, but
WIDTH
= 9600 is too big) I got this error
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/ccnIC8BQ.s: Assembler
messages:
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/ccnIC8BQ.s:54: Warning:
partial
line at end of file ignored
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/
ccwcOjjg.o:decodeur_tc1000_butterfly
..cpp.text+0x2a): undefined reference to `unsigned int const&
std::min<unsigned int>(unsigned int const&, unsigned int
const&)'
/cygdrive/d/DOCUME~1/GIACOM~1/LOCALS~1/Temp/
ccwcOjjg.o:decodeur_tc1000_butterfly
..cpp.text+0x8b): undefined reference to `L6'
.../../systemc-2.1.v1/lib-cygwin//
libsystemc.a(sc_main_main.o):sc_main_main.cpp
..text+0xc0): undefined reference to `_sc_main'
collect2: ld returned 1 exit status
make: *** [decodeur_tc1000_butterfly] Error 1
If I use dynamic declaration nothing changes.
I use g++ as compiler.
What's wrong?
Is this a stsyemc problem or a c++ one?
Regards,
Max