LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble compiling virtualbox-ose.Slackbuild 3.1.6 on Slackware64 13.0 with multilibs. (http://www.linuxquestions.org/questions/slackware-14/trouble-compiling-virtualbox-ose-slackbuild-3-1-6-on-slackware64-13-0-with-multilibs-804314/)

kslen 04-26-2010 12:57 PM

Trouble compiling virtualbox-ose.Slackbuild 3.1.6 on Slackware64 13.0 with multilibs.
 
Hello there.

I'm having trouble compiling virtualbox-ose.SlackBuild 3.1.6 on Slackware64 13.0 with multilibs made from the Slackware64 13.0 dvd iso.

I've changed arch to x86_64 and libdirsuffix to "".

acpica.SlackBuild built successfully and virtualbox-ose.SlackBuild is attempted built after running ". /etc/profile.d/32env.sh" as specified in the multilib documentation.

All is well until..
Code:

***** Checking libcurl *****
compiling the following source file:
#include <cstdio>
#include <curl/curl.h>
extern "C" int main(void)
{
  printf("found version %s", LIBCURL_VERSION);
#if 10000*LIBCURL_VERSION_MAJOR + 100*LIBCURL_VERSION_MINOR + LIBCURL_VERSION_PATCH >= 71601
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 7.16.1 or higher\n");
  return 1;
#endif
}
using the following command line:
g++  -g -O -Wall -o /tmp/SBo/VirtualBox-3.1.6_OSE/.tmp_out /tmp/SBo/VirtualBox-3.1.6_OSE/.tmp_src.cc "-lcurl "
In file included from /usr/include/curl/curl.h:36,
                from /tmp/SBo/VirtualBox-3.1.6_OSE/.tmp_src.cc:2:
/usr/include/curl/curlrules.h:144: error: size of array '__curl_rule_01__' is negative
/usr/include/curl/curlrules.h:154: error: size of array '__curl_rule_02__' is negative

..and it abruptly ends.

Anyone able to help me out with this one?

ChrisAbela 04-28-2010 02:24 PM

Quote:

I've changed arch to x86_64 and libdirsuffix to "".
That's wrong but leave ARCH=x86_64

kslen 04-28-2010 04:47 PM

*facepalm*

Thanks a bunch. :p


All times are GMT -5. The time now is 09:57 AM.