"Amit Bhatia" <[EMAIL PROTECTED]> writes: > ... > g++ -pg -O -Wno-deprecated -ansi -pedantic -o test test.C > -DANSI_HEADERS -D_G_HAVE_BOOL -I. -I/ALLTHEINCLUDEDIRS -lmy -L. > > And I get the following error message: > > ld: archive: ./librat.a has no table of contents, add one with > ranlib(1) (can't load from it)
Quite strange. Why g++ complains about librat.a, if you do NOT require librat in the command line? -- Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html Dept. of Physics, Univ. of Padova, Italy ROT13: [EMAIL PROTECTED] _______________________________________________ Help-gplusplus mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gplusplus
