According to Matt Salomone:
> Is there a good way to use a non-GNU C++ compiler to compile ht://Dig?
> Specifically, I'm using CC to build C++ files and gcc to build C files
> now, because the version of g++ installed on my server apparently
> doesn't have all the header files necessary (probably because nobody's
> installed libstdc++). And I can't get libstdc++ to install in my own
> directory for the life of me... the configure program hangs. So it
> appears that I'm stuck with CC to compile this thing. Can it be done?
> It's given me this error during make when attempting to compile htfuzzy:
> 
> Undefined                       first referenced
>  symbol                             in file
> __muldi3                            ./db/dist/libdb.a(os_rw.o)
> __cmpdi2                            ./db/dist/libdb.a(os_stat.o)
> ld: fatal: Symbol referencing errors. No output written to htfuzzy
> 
> which I've heard stems from not being able to find the file libgcc.a,
> which I have located but haven't found out how to tell the make program
> where it is... any suggestions?

Add it to the LIBS definition in Makefile.config.  Either that or change
the definitions so it uses the stardard C compiler on your system, rather
than gcc, to compile the db package (not sure, but that may involve changing
Makefiles or other files under the db directory).

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to