(CROSS-POSTED) Problem with ld/GCC?

Joe Morris heartboy at nycap.rr.com
Thu May 2 12:57:22 PDT 2002


On Thursday 02 May 2002 03:56 pm, you wrote:
> i think it is a you didnt link your classes files in your
> main.cpp file problem :)
>
> you have to 1) compile all the cpp's into object
> files and 2) link all the class object files with your main file.
>
> :) otherwise what is happening is your main file does not
>
> see the Node classes....this is why when you put all the code "together in
> one file" it works. :)
>
> cris
>
> ps. man gcc :)
>

Hey, thanks!  So, what should I type at the prompt?
Joe
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list