MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: compile failing "The function "localtime_r" must have a prototype"
Posted by: Bjørn Munch
Date: January 14, 2015 03:24AM

Those flags look reasonable, you may want to add -m64 if you want to build for 64-bit. Don't know why you needed to explicitly add /usr/include.

That said, it's quite possible that at least 5.6 will be impossible to build and run on your old box, support for Solaris 8 ended a long time ago and it's very likely it needs some feature or system call not available on your platform.

BTW, 5.1.57 is not the last 5.1 release. If you're able to compile that, you can probably also compile 5.1.73 which was the last 5.1 version.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.