[ringland@dhcppc1 BH2.1]$ make g++ -fno-for-scope -o stepBH stepBH.c /tmp/ccWM8zzO.o: In function `operator<<(ostream &, Homeo const &)': /tmp/ccWM8zzO.o(.text+0x8d9e): undefined reference to `operator<<(ostream &, Set const &)' /tmp/ccWM8zzO.o: In function `Homeo::translate(void)': /tmp/ccWM8zzO.o(.text+0xa6fa): undefined reference to `operator<<(ostream &, LinList const &)' /tmp/ccWM8zzO.o: In function `Homeo::Homeo(istream &)': /tmp/ccWM8zzO.o(.text+0xbf7d): undefined reference to `operator>>(istream &, Set &)' /tmp/ccWM8zzO.o(.text+0xbfc5): undefined reference to `operator>>(istream &, Set &)' /tmp/ccWM8zzO.o(.text+0xc00d): undefined reference to `operator>>(istream &, LinList &)' /tmp/ccWM8zzO.o: In function `Homeo::fold(DE, DE, int)': /tmp/ccWM8zzO.o(.text+0x1244e): undefined reference to `operator<<(ostream &, Set const &)' /tmp/ccWM8zzO.o: In function `Homeo::pullTight_type1(void)': /tmp/ccWM8zzO.o(.text+0x16d4b): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `Homeo::removeValenceOneVertices(void)': /tmp/ccWM8zzO.o(.text+0x17c03): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `Homeo::removeAValenceTwoVertex(void)': /tmp/ccWM8zzO.o(.text+0x1a133): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `Homeo::removeValenceTwoVertices(void)': /tmp/ccWM8zzO.o(.text+0x1ae67): undefined reference to `operator<<(ostream &, Set const &)' /tmp/ccWM8zzO.o(.text+0x1af13): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `Homeo::step6(void)': /tmp/ccWM8zzO.o(.text+0x1d1be): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `Homeo::mapIsContinuous(void) const': /tmp/ccWM8zzO.o(.text+0x20067): undefined reference to `operator<<(ostream &, CircList const &)' /tmp/ccWM8zzO.o: In function `SetIterator::current(void)': /tmp/ccWM8zzO.o(.SetIterator::gnu.linkonce.t.current(void)+0xc5): undefined reference to `operator<<(ostream &, Set const &)' /tmp/ccWM8zzO.o: In function `ostream & operator<< >(ostream &, CircList > const &)': /tmp/ccWM8zzO.o(.gnu.linkonce.t.__ls__H1Zt7LinList1Z2DE_R7ostreamRCt8CircList1ZX01_R7ostream+0x78): undefined reference to `operator<<(ostream &, LinList const &)' collect2: ld returned 1 exit status make: *** [stepBH] Error 1 [ringland@dhcppc1 BH2.1]$