Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Compilation problems under Linux
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Дмитрий Дудин  
View profile   Translate to Translated (View Original)
 More options Apr 7 2012, 3:01 am
From: Дмитрий Дудин <dima.du...@gmail.com>
Date: Sat, 7 Apr 2012 00:01:35 -0700 (PDT)
Local: Sat, Apr 7 2012 3:01 am
Subject: Re: Compilation problems under Linux

I have this problem too.

пятница, 8 июля 2011 г., 2:17:29 UTC+7 пользователь Nicolas Buduroi написал:

> Hi, I'm having trouble compiling the latest stable version of REE
> (2011.03) under ArchLinux x86_64, with GCC 4.6.1 and glibc 2.14. Here the
> error:

> make libtcmalloc_minimal.la
> /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> -I./src  -I./src   -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall
> -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc
> -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc
> -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign
> -fno-builtin-valloc -fno-builtin-pvalloc  -DNO_FRAME_POINTER -g -O2 -c -o
> libtcmalloc_minimal_la-tcmalloc.lo `test -f 'src/tcmalloc.cc' || echo
> './'`src/tcmalloc.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src
> -DNO_TCMALLOC_SAMPLES -pthread -DNDEBUG -Wall -Wwrite-strings
> -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc
> -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc
> -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign
> -fno-builtin-valloc -fno-builtin-pvalloc -DNO_FRAME_POINTER -g -O2 -c
> src/tcmalloc.cc  -fPIC -DPIC -o .libs/libtcmalloc_minimal_la-tcmalloc.o
> src/tcmalloc.cc:1672:54: error: conflicting declaration ‘void* (*
> __memalign_hook)(size_t, size_t, const void*)’
> /usr/include/malloc.h:183:39: error: ‘__memalign_hook’ has a previous
> declaration as ‘void* (* volatile __memalign_hook)(size_t, size_t, const
> void*)’
> make: *** [libtcmalloc_minimal_la-tcmalloc.lo] Error 1

> I've then tried out the github HEAD, which doesn't contain this error, but
> there another one. The compiler complained about a callback.func and
> cbtable.func files containing serious syntax errors. I had a look at them
> and they appear to be a big problem with the generators. After reviewing
> those they didn't seemed to be anything wrong so I called the generators
> manually and the result .func files are now valid and REE could be compiled
> correctly. I've attached the diff of the .func file to this message.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.