$ gcc -o copyfind copyfind.cpp /tmp/cceo53On.o: In function `document::~document()': copyfind.cpp:(.text+0x972): undefined reference to `operator delete[](void*)' copyfind.cpp:(.text+0x9a2): undefined reference to `operator delete[](void*)' copyfind.cpp:(.text+0x9d2): undefined reference to `operator delete[](void*)' /tmp/cceo53On.o: In function `document::~document()': copyfind.cpp:(.text+0xa10): undefined reference to `operator delete[](void*)' copyfind.cpp:(.text+0xa40): undefined reference to `operator delete[](void*)' /tmp/cceo53On.o:copyfind.cpp:(.text+0xa70): more undefined references to `operator delete[](void*)' follow /tmp/cceo53On.o: In function `main': copyfind.cpp:(.text+0xd2f): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0xe04): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0xf6d): undefined reference to `operator delete[](void*)' copyfind.cpp:(.text+0x104c): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x1206): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x1296): undefined reference to `operator delete[](void*)' copyfind.cpp:(.text+0x136b): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x13cd): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x142f): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x1680): undefined reference to `operator new[](unsigned long)' copyfind.cpp:(.text+0x16bf): undefined reference to `operator new[](unsigned long)' /tmp/cceo53On.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status