How do I fix an undefined reference to namespace error?
I have a header file that's titled "something.h" and in this header file I defined my namespace. I also have an implementation file titled something.cxx and also a file titled main.cpp. The main.cpp has calls made to the functions that are defined in the implementation file. When I type in the command, "g++ something.cxx main.cpp -o test" I get an error saying undefined reference to the namespace. How do I fix this? Thanks!!