g++ -o amba -Wall -g ./bin/sc_main.o ./bin/master.o ./bin/arbiter.o ./bin/slave.o ./bin/amba.o ./bin/mux_hrdata.o ./bin/slave_decoder.o ./bin/mux.o /iceng/lib/stdcell/work/tforby/systemc/systemc-2.2.0/lib-gccsparcOS5/libsystemc.a
Undefined first referenced
symbol in file
Mux<unsigned>::main_action() ./bin/amba.o
ld: fatal: Symbol referencing errors. No output written to amba
collect2: ld returned 1 exit status
gnumake: *** [amba] Error 1
Okay, this seems like a systemc thing. I copied mux.h and mux.ccp and removed all the systemC stuff out, and it compiled. Hmm, if you cans can offer help, i would still appreciate it.
WOOHOO, sorry for this post guys, I have figured it out. I had to put the template class member function in the mux.h file itself. Once again, sorry for this wasted thread. But I am sure I'll be back again.