Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Sep 9 21:17:36 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m8A4HZhn015497 for ; Tue, 9 Sep 2008 21:17:35 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m8A4GwTI006904 for ; Tue, 9 Sep 2008 21:16:58 -0700 Message-Id: <200809100416.m8A4GwTI006904@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Errors in md5.h? Date: Tue, 09 Sep 2008 21:16:58 -0700 From: Bill Cheng Someone wrote: > I have successfully linked the md5.h file as needed, I think you mean "included" and not "linked". > but when I compile I > receive the following errors: > > g++ -c clientHandleResponses.cpp -I/home/scf-22/csci551b/openssl/include > In file included from clientHandleResponses.cpp:2: > > /home/scf-22/csci551b/openssl/include/openssl/md5.h:108: error: 'size_t' has > not been declared > /home/scf-22/csci551b/openssl/include/openssl/md5.h:110: error: 'size_t' has > not been declared > > *** Error code 1 > make: Fatal error: Command failed for target `clientHandleResponses.o' > > I've used these variable types elsewhere so I'm sure my includes (if even > needed here) are good, so I'm not sure why these errors are appearing here > for MD5? You can add: #include before #include I think it's fair to say that it's a bug in . -- Bill Cheng // bill.cheng@usc.edu