R14B failed to build on Ubuntu 9.04
ingo.schramm
schramm.ingo@REDACTED
Sat Oct 16 15:05:45 CEST 2010
R14B failed to build on Ubuntu 9.04
uname -a
Linux hermes 2.6.28-19-generic #65-Ubuntu SMP Thu Sep 16 14:24:42 UTC
2010 x86_64 GNU/Linux
gcc --version
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-5ubuntu1)
./configure --prefix=/opt/erlang/R14B
make
test X"$ERTS_SKIP_DEPEND" = X"true" || (cd erts/emulator && ERL_TOP=/
home/ingo/install/otp_src_R14B make generate depend)
make[1]: Entering directory `/home/ingo/install/otp_src_R14B/erts/
emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory `/home/ingo/install/otp_src_R14B/erts/
emulator'
gcc -g -O3 -I/home/ingo/install/otp_src_R14B/erts/x86_64-unknown-
linux-gnu -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -
Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -
D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -
D_POSIX_THREAD_SAFE_FUNCTIONS -Ix86_64-unknown-linux-gnu/opt/plain -
Ibeam -Isys/unix -Isys/common -Ix86_64-unknown-linux-gnu -Izlib -
Ipcre -Ihipe -I../include -I../include/x86_64-unknown-linux-gnu -I../
include/internal -I../include/internal/x86_64-unknown-linux-gnu -c
hipe/hipe_mkliterals.c -o obj/x86_64-unknown-linux-gnu/opt/plain/
hipe_mkliterals.o
hipe/hipe_mkliterals.c:23:20: error: config.h: No such file or
directory
In file included from beam/sys.h:54,
from hipe/hipe_mkliterals.c:30:
sys/unix/erl_unix_sys.h:210: error: expected declaration specifiers or
‘...’ before ‘*’ token
sys/unix/erl_unix_sys.h:210: warning: data definition has no type or
storage class
sys/unix/erl_unix_sys.h:210: warning: type defaults to ‘int’ in
declaration of ‘RETSIGTYPE’
sys/unix/erl_unix_sys.h:210: error: ‘RETSIGTYPE’ declared as function
returning a function
sys/unix/erl_unix_sys.h:210: warning: function declaration isn’t a
prototype
In file included from hipe/hipe_mkliterals.c:30:
beam/sys.h:223:2: error: #error Cannot handle this combination of int/
long/void*/size_t sizes
beam/sys.h:233:2: error: #error Neither 32 nor 64 bit architecture
beam/sys.h:314:2: error: #error Found no appropriate type to use for
'Uint32' and 'Sint32'
beam/sys.h:324:2: error: #error Found no appropriate type to use for
'Uint16' and 'Sint16'
In file included from beam/erl_threads.h:37,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
../include/internal/ethread.h:30:37: error: ethread_header_config.h:
No such file or directory
../include/internal/ethread.h:196:2: error: #error "No supported
thread lib found"
In file included from beam/erl_threads.h:37,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
../include/internal/ethread.h:393: error: expected ‘)’ before ‘*’
token
../include/internal/ethread.h:394: error: expected ‘)’ before ‘void’
../include/internal/ethread.h:395: warning: parameter names (without
types) in function declaration
../include/internal/ethread.h:397: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘ethr_self’
../include/internal/ethread.h:398: warning: parameter names (without
types) in function declaration
../include/internal/ethread.h:401: error: expected ‘)’ before ‘*’
token
../include/internal/ethread.h:402: warning: parameter names (without
types) in function declaration
../include/internal/ethread.h:403: error: expected ‘)’ before ‘void’
../include/internal/ethread.h:404: warning: parameter names (without
types) in function declaration
../include/internal/ethread.h: In function ‘ethr_spinlock_init’:
../include/internal/ethread.h:446: warning: implicit declaration of
function ‘pthread_mutex_init’
../include/internal/ethread.h: In function ‘ethr_spinlock_destroy’:
../include/internal/ethread.h:461: warning: implicit declaration of
function ‘pthread_mutex_destroy’
../include/internal/ethread.h: In function ‘ethr_spin_unlock’:
../include/internal/ethread.h:477: warning: implicit declaration of
function ‘pthread_mutex_unlock’
../include/internal/ethread.h: In function ‘ethr_spin_lock’:
../include/internal/ethread.h:495: warning: implicit declaration of
function ‘pthread_mutex_lock’
In file included from ../include/internal/ethread.h:815,
from beam/erl_threads.h:37,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
../include/internal/pthread/ethr_event.h: At top level:
../include/internal/pthread/ethr_event.h:144: error: expected ‘)’
before ‘*’ token
../include/internal/pthread/ethr_event.h:145: error: expected ‘)’
before ‘*’ token
../include/internal/pthread/ethr_event.h:146: error: expected ‘)’
before ‘*’ token
../include/internal/pthread/ethr_event.h:147: error: expected ‘)’
before ‘*’ token
In file included from beam/erl_threads.h:37,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
../include/internal/ethread.h:824: error: expected specifier-qualifier-
list before ‘ethr_event’
In file included from ../include/internal/ethread.h:907,
from beam/erl_threads.h:37,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
../include/internal/ethr_mutex.h: In function ‘ethr_mutex_trylock’:
../include/internal/ethr_mutex.h:420: warning: implicit declaration of
function ‘pthread_mutex_trylock’
../include/internal/ethr_mutex.h: In function ‘ethr_rwmutex_tryrlock’:
../include/internal/ethr_mutex.h:460: warning: implicit declaration of
function ‘pthread_rwlock_tryrdlock’
../include/internal/ethr_mutex.h: In function ‘ethr_rwmutex_rlock’:
../include/internal/ethr_mutex.h:469: warning: implicit declaration of
function ‘pthread_rwlock_rdlock’
../include/internal/ethr_mutex.h: In function ‘ethr_rwmutex_runlock’:
../include/internal/ethr_mutex.h:477: warning: implicit declaration of
function ‘pthread_rwlock_unlock’
../include/internal/ethr_mutex.h: In function
‘ethr_rwmutex_tryrwlock’:
../include/internal/ethr_mutex.h:485: warning: implicit declaration of
function ‘pthread_rwlock_trywrlock’
../include/internal/ethr_mutex.h: In function ‘ethr_rwmutex_rwlock’:
../include/internal/ethr_mutex.h:494: warning: implicit declaration of
function ‘pthread_rwlock_wrlock’
In file included from beam/erl_threads.h:40,
from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
beam/erl_term.h: At top level:
beam/erl_term.h:417: error: expected specifier-qualifier-list before
‘Uint16’
beam/erl_term.h:735: error: expected specifier-qualifier-list before
‘Uint32’
beam/erl_term.h:867: error: expected specifier-qualifier-list before
‘Uint32’
In file included from beam/erl_smp.h:27,
from beam/sys.h:341,
from hipe/hipe_mkliterals.c:30:
beam/erl_threads.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_tid_t’
beam/erl_threads.h:93: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_tsd_key_t’
beam/erl_threads.h:181: error: expected ‘)’ before ‘*’ token
beam/erl_threads.h:183: error: expected ‘)’ before ‘tid’
beam/erl_threads.h:184: error: expected ‘)’ before ‘tid’
beam/erl_threads.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_thr_self’
beam/erl_threads.h:188: error: expected ‘)’ before ‘x’
beam/erl_threads.h:190: error: expected declaration specifiers or
‘...’ before ‘Uint16’
beam/erl_threads.h:267: error: expected declaration specifiers or
‘...’ before ‘Uint16’
beam/erl_threads.h:299: error: expected ‘)’ before ‘*’ token
beam/erl_threads.h:300: error: expected ‘)’ before ‘key’
beam/erl_threads.h:301: error: expected ‘)’ before ‘key’
beam/erl_threads.h:302: error: expected ‘)’ before ‘key’
beam/erl_threads.h:344: error: expected ‘)’ before ‘*’ token
beam/erl_threads.h:355: error: expected ‘)’ before ‘tid’
beam/erl_threads.h:366: error: expected ‘)’ before ‘tid’
beam/erl_threads.h:396: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_thr_self’
beam/erl_threads.h:407: error: expected ‘)’ before ‘x’
beam/erl_threads.h:433: error: expected declaration specifiers or
‘...’ before ‘Uint16’
beam/erl_threads.h:1162: error: expected declaration specifiers or
‘...’ before ‘Uint16’
beam/erl_threads.h:1444: error: expected ‘)’ before ‘*’ token
beam/erl_threads.h:1454: error: expected ‘)’ before ‘key’
beam/erl_threads.h:1464: error: expected ‘)’ before ‘key’
beam/erl_threads.h:1474: error: expected ‘)’ before ‘key’
beam/erl_threads.h: In function ‘erts_tse_fetch’:
beam/erl_threads.h:1486: warning: implicit declaration of function
‘ethr_get_ts_event’
beam/erl_threads.h:1486: warning: cast to pointer from integer of
different size
beam/erl_threads.h: In function ‘erts_tse_return’:
beam/erl_threads.h:1495: warning: implicit declaration of function
‘ethr_leave_ts_event’
beam/erl_threads.h: In function ‘erts_tse_set’:
beam/erl_threads.h:1502: warning: implicit declaration of function
‘ethr_event_set’
beam/erl_threads.h:1502: error: ‘ethr_ts_event’ has no member named
‘event’
beam/erl_threads.h: In function ‘erts_tse_reset’:
beam/erl_threads.h:1509: warning: implicit declaration of function
‘ethr_event_reset’
beam/erl_threads.h:1509: error: ‘ethr_ts_event’ has no member named
‘event’
beam/erl_threads.h: In function ‘erts_tse_wait’:
beam/erl_threads.h:1516: warning: implicit declaration of function
‘ethr_event_wait’
beam/erl_threads.h:1516: error: ‘ethr_ts_event’ has no member named
‘event’
beam/erl_threads.h: In function ‘erts_tse_swait’:
beam/erl_threads.h:1525: warning: implicit declaration of function
‘ethr_event_swait’
beam/erl_threads.h:1525: error: ‘ethr_ts_event’ has no member named
‘event’
beam/erl_threads.h: In function ‘erts_tse_is_tmp’:
beam/erl_threads.h:1534: error: ‘erts_tse_t’ has no member named
‘iflgs’
In file included from hipe/hipe_mkliterals.c:30:
beam/sys.h: At top level:
beam/sys.h:827: error: expected ‘)’ before ‘allowed_activities’
beam/sys.h:829: error: expected declaration specifiers or ‘...’ before
‘Uint32’
beam/sys.h:859: error: expected ‘)’ before ‘allowed_activities’
beam/sys.h:867: error: expected declaration specifiers or ‘...’ before
‘Uint32’
In file included from hipe/hipe_mkliterals.c:31:
beam/erl_vm.h:179: error: expected specifier-qualifier-list before
‘Uint32’
In file included from beam/erl_alloc.h:23,
from beam/global.h:25,
from hipe/hipe_mkliterals.c:32:
x86_64-unknown-linux-gnu/opt/plain/erl_alloc_types.h:131: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘ErtsAlcType_t’
x86_64-unknown-linux-gnu/opt/plain/erl_alloc_types.h:329: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘erts_alc_n2t’
In file included from beam/erl_alloc.h:24,
from beam/global.h:25,
from hipe/hipe_mkliterals.c:32:
beam/erl_alloc_util.h:36: error: expected specifier-qualifier-list
before ‘ErtsAlcType_t’
beam/erl_alloc_util.h:114: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:115: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:116: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:117: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:119: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:120: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:121: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:122: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:123: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:124: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:125: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:126: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:127: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:128: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:129: error: expected ‘)’ before ‘void’
beam/erl_alloc_util.h:130: error: expected ‘)’ before ‘void’
In file included from beam/global.h:25,
from hipe/hipe_mkliterals.c:32:
beam/erl_alloc.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_fix_core_allocator_ix’
beam/erl_alloc.h:55: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:56: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:57: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:61: warning: parameter names (without types) in
function declaration
beam/erl_alloc.h:62: error: expected ‘)’ before ‘Uint’
beam/erl_alloc.h:63: error: expected ‘)’ before ‘ErtsFixInfo’
beam/erl_alloc.h:64: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:65: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:66: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:110: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:111: error: expected ‘;’ before ‘void’
beam/erl_alloc.h:131: error: expected ‘)’ before ‘Uint’
beam/erl_alloc.h:133: error: expected ‘)’ before ‘Uint’
beam/erl_alloc.h:135: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:137: error: expected ‘)’ before ‘void’
beam/erl_alloc.h:139: error: expected declaration specifiers or ‘...’
before ‘ErtsAlcType_t’
beam/erl_alloc.h:181: error: expected ‘)’ before ‘type’
beam/erl_alloc.h:194: error: expected ‘)’ before ‘type’
beam/erl_alloc.h:208: error: expected ‘)’ before ‘type’
beam/erl_alloc.h:218: error: expected ‘)’ before ‘type’
beam/erl_alloc.h:228: error: expected ‘)’ before ‘type’
In file included from beam/global.h:28,
from hipe/hipe_mkliterals.c:32:
beam/hash.h:71: error: expected specifier-qualifier-list before
‘ErtsAlcType_t’
beam/hash.h:81: error: expected ‘)’ before ‘char’
beam/hash.h:82: error: expected ‘)’ before ‘Hash’
In file included from beam/global.h:29,
from hipe/hipe_mkliterals.c:32:
beam/index.h:42: error: expected specifier-qualifier-list before
‘ErtsAlcType_t’
beam/index.h:53: error: expected ‘)’ before ‘IndexTable’
beam/index.h: In function ‘erts_index_lookup’:
beam/index.h:67: error: ‘IndexTable’ has no member named ‘seg_table’
In file included from beam/erl_process.h:36,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_process_lock.h: At top level:
beam/erl_process_lock.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:65: error: expected specifier-qualifier-list
before ‘ErtsProcLocks’
In file included from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_message.h:46: error: expected specifier-qualifier-list before
‘Uint64’
In file included from beam/erl_node_tables.h:44,
from beam/external.h:77,
from beam/erl_message.h:49,
from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_monitors.h:100: error: expected specifier-qualifier-list
before ‘Sint16’
beam/erl_monitors.h:105: error: expected specifier-qualifier-list
before ‘Sint16’
beam/erl_monitors.h:117: error: expected specifier-qualifier-list
before ‘Sint16’
beam/erl_monitors.h:130: error: expected specifier-qualifier-list
before ‘Sint16’
In file included from beam/erl_sys_driver.h:38,
from beam/erl_port_task.h:28,
from beam/erl_node_tables.h:47,
from beam/external.h:77,
from beam/erl_message.h:49,
from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_driver.h:28:22: error: config.h: No such file or directory
beam/erl_driver.h:55:34: error: erl_int_sizes_config.h: No such file
or directory
beam/erl_driver.h:199:2: error: #error No 64-bit integer type
In file included from beam/external.h:77,
from beam/erl_message.h:49,
from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_node_tables.h:113: error: expected specifier-qualifier-list
before ‘Uint32’
beam/erl_node_tables.h:153: error: expected specifier-qualifier-list
before ‘Uint32’
beam/erl_node_tables.h: In function ‘erts_smp_de_links_lock’:
beam/erl_node_tables.h:249: error: ‘DistEntry’ has no member named
‘lnk_mtx’
beam/erl_node_tables.h: In function ‘erts_smp_de_links_unlock’:
beam/erl_node_tables.h:255: error: ‘DistEntry’ has no member named
‘lnk_mtx’
In file included from beam/erl_message.h:49,
from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/external.h: At top level:
beam/external.h:97: error: expected specifier-qualifier-list before
‘Uint32’
beam/external.h:122: error: expected specifier-qualifier-list before
‘Uint32’
beam/external.h:155: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/external.h:156: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/external.h: In function ‘erts_free_dist_ext_copy’:
beam/external.h:207: warning: implicit declaration of function
‘erts_free’
In file included from beam/erl_process.h:41,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_message.h: At top level:
beam/erl_message.h:223: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_message.h:224: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_message.h:225: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_message.h:226: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_message.h:234: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
In file included from beam/erl_process.h:46,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_bif_timer.h:32: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
In file included from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_process.h:327: error: expected specifier-qualifier-list
before ‘Uint32’
beam/erl_process.h:587: error: expected specifier-qualifier-list
before ‘Uint32’
beam/erl_process.h:799: error: expected specifier-qualifier-list
before ‘Uint16’
beam/erl_process.h: In function ‘erts_heap_frag_shrink’:
beam/erl_process.h:815: error: ‘Process’ has no member named ‘mbuf’
beam/erl_process.h: At top level:
beam/erl_process.h:1063: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1113: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1114: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1120: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1124: error: expected declaration specifiers or
‘...’ before ‘Uint32’
beam/erl_process.h:1184: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1189: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h: In function ‘erts_psd_get’:
beam/erl_process.h:1212: error: ‘Process’ has no member named ‘psd’
beam/erl_process.h:1212: error: ‘Process’ has no member named ‘psd’
beam/erl_process.h: At top level:
beam/erl_process.h:1220: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h: In function ‘erts_psd_set’:
beam/erl_process.h:1238: error: ‘Process’ has no member named ‘psd’
beam/erl_process.h:1239: error: ‘Process’ has no member named ‘psd’
beam/erl_process.h:1240: error: ‘Process’ has no member named ‘psd’
beam/erl_process.h:1247: error: ‘plocks’ undeclared (first use in this
function)
beam/erl_process.h:1247: error: (Each undeclared identifier is
reported only once
beam/erl_process.h:1247: error: for each function it appears in.)
beam/erl_process.h:1247: warning: passing argument 3 of
‘erts_psd_set_init’ makes pointer from integer without a cast
beam/erl_process.h:1247: error: too many arguments to function
‘erts_psd_set_init’
beam/erl_process.h: At top level:
beam/erl_process.h:1274: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h:1291: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process.h: In function ‘erts_proc_set_error_handler’:
beam/erl_process.h:1297: error: ‘plocks’ undeclared (first use in this
function)
beam/erl_process.h:1297: error: too many arguments to function
‘erts_psd_set’
beam/erl_process.h: In function ‘erts_get_current_pid’:
beam/erl_process.h:1376: error: ‘Process’ has no member named ‘id’
In file included from beam/erl_process.h:1587,
from beam/beam_load.h:24,
from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/erl_process_lock.h: At top level:
beam/erl_process_lock.h:643: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:645: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:646: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:658: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:681: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:695: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:773: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:773: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:798: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h:800: error: expected declaration specifiers or
‘...’ before ‘ErtsProcLocks’
beam/erl_process_lock.h: In function ‘erts_pid2proc_opt’:
beam/erl_process_lock.h:814: error: ‘Process’ has no member named ‘id’
beam/erl_process_lock.h:816: error: ‘Process’ has no member named
‘status’
In file included from beam/export.h:74,
from beam/global.h:31,
from hipe/hipe_mkliterals.c:32:
beam/beam_load.h: At top level:
beam/beam_load.h:26: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
In file included from beam/global.h:33,
from hipe/hipe_mkliterals.c:32:
beam/register.h:56: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/register.h:57: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/register.h:60: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/register.h:62: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/register.h:64: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
In file included from hipe/hipe_mkliterals.c:32:
beam/global.h:184: error: expected specifier-qualifier-list before
‘Uint32’
beam/global.h: In function ‘erts_prtsd_get’:
beam/global.h:228: error: ‘Port’ has no member named ‘psd’
beam/global.h:228: error: ‘Port’ has no member named ‘psd’
beam/global.h: In function ‘erts_prtsd_set’:
beam/global.h:234: error: ‘Port’ has no member named ‘psd’
beam/global.h:235: error: ‘Port’ has no member named ‘psd’
beam/global.h:236: error: ‘Port’ has no member named ‘psd’
beam/global.h:240: error: ‘Port’ has no member named ‘psd’
beam/global.h:240: warning: implicit declaration of function
‘erts_alloc’
beam/global.h:241: error: ‘Port’ has no member named ‘psd’
beam/global.h: At top level:
beam/global.h:363: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:367: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:370: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h: In function ‘erts_may_save_closed_port’:
beam/global.h:543: error: ‘Port’ has no member named ‘snapshot’
beam/global.h: At top level:
beam/global.h:847: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:861: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1009: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1065: error: expected specifier-qualifier-list before
‘Uint32’
beam/global.h:1244: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1244: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1248: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_portid2status’
beam/global.h:1251: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1251: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1252: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1253: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1254: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1255: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_port_status_get’
beam/global.h:1260: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1260: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h: In function ‘erts_id2port_sflgs’:
beam/global.h:1273: error: ‘Port’ has no member named ‘status’
beam/global.h:1273: error: ‘sflgs’ undeclared (first use in this
function)
beam/global.h: In function ‘erts_port_release’:
beam/global.h:1310: error: ‘Port’ has no member named ‘status’
beam/global.h:1310: error: ‘Uint32’ undeclared (first use in this
function)
beam/global.h: In function ‘erts_drvport2port’:
beam/global.h:1321: error: ‘Port’ has no member named ‘status’
beam/global.h:1321: error: ‘Uint32’ undeclared (first use in this
function)
beam/global.h: In function ‘erts_drvportid2port’:
beam/global.h:1336: error: ‘Port’ has no member named ‘status’
beam/global.h:1336: error: ‘Uint32’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_portid2status’
beam/global.h: In function ‘erts_is_port_alive’:
beam/global.h:1367: warning: implicit declaration of function
‘erts_portid2status’
beam/global.h:1367: error: ‘Uint32’ undeclared (first use in this
function)
beam/global.h: In function ‘erts_is_valid_tracer_port’:
beam/global.h:1374: error: ‘Uint32’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1378: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1379: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h: In function ‘erts_port_status_bandor_set’:
beam/global.h:1383: error: ‘Port’ has no member named ‘status’
beam/global.h:1383: error: ‘band_status’ undeclared (first use in this
function)
beam/global.h:1384: error: ‘Port’ has no member named ‘status’
beam/global.h:1384: error: ‘bor_status’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1388: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h: In function ‘erts_port_status_band_set’:
beam/global.h:1392: error: ‘Port’ has no member named ‘status’
beam/global.h:1392: error: ‘status’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1396: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h: In function ‘erts_port_status_bor_set’:
beam/global.h:1400: error: ‘Port’ has no member named ‘status’
beam/global.h:1400: error: ‘status’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1404: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h: In function ‘erts_port_status_set’:
beam/global.h:1408: error: ‘Port’ has no member named ‘status’
beam/global.h:1408: error: ‘status’ undeclared (first use in this
function)
beam/global.h: At top level:
beam/global.h:1412: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_port_status_get’
beam/global.h:1518: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘make_broken_hash’
beam/global.h:1519: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘block_hash’
beam/global.h:1520: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘make_hash2’
beam/global.h:1521: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘make_hash’
beam/global.h:1527: error: expected declaration specifiers or ‘...’
before ‘Uint64’
beam/global.h:1528: error: expected declaration specifiers or ‘...’
before ‘Sint64’
beam/global.h:1602: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1624: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_call_trace’
beam/global.h:1795: error: expected declaration specifiers or ‘...’
before ‘Uint32’
beam/global.h:1827: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h:1847: error: expected declaration specifiers or ‘...’
before ‘ErtsProcLocks’
beam/global.h: In function ‘erts_alloc_message_heap’:
beam/global.h:1868: error: ‘Process’ has no member named ‘status’
beam/global.h:1885: error: ‘Process’ has no member named ‘off_heap’
In file included from hipe/hipe_mkliterals.c:35:
beam/erl_bits.h: At top level:
beam/erl_bits.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘erts_bs_get_unaligned_uint32’
In file included from hipe/hipe_mkliterals.c:142:
beam/erl_binary.h:154: error: expected declaration specifiers or ‘...’
before ‘ErtsAlcType_t’
beam/erl_binary.h:181: error: expected declaration specifiers or ‘...’
before ‘ErtsAlcType_t’
In file included from hipe/hipe_mkliterals.c:142:
beam/erl_binary.h: In function ‘erts_get_aligned_binary_bytes’:
beam/erl_binary.h:198: error: too many arguments to function
‘erts_get_aligned_binary_bytes_extra’
beam/erl_binary.h: At top level:
beam/erl_binary.h:202: error: expected declaration specifiers or ‘...’
before ‘ErtsAlcType_t’
beam/erl_binary.h: In function ‘erts_free_aligned_binary_bytes_extra’:
beam/erl_binary.h:205: error: ‘allocator’ undeclared (first use in
this function)
beam/erl_binary.h: In function ‘erts_free_aligned_binary_bytes’:
beam/erl_binary.h:212: error: too many arguments to function
‘erts_free_aligned_binary_bytes_extra’
beam/erl_binary.h: In function ‘erts_bin_drv_alloc_fnf’:
beam/erl_binary.h:230: warning: implicit declaration of function
‘erts_alloc_fnf’
beam/erl_binary.h:230: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h: In function ‘erts_bin_drv_alloc’:
beam/erl_binary.h:240: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h: In function ‘erts_bin_nrml_alloc’:
beam/erl_binary.h:251: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h: In function ‘erts_bin_realloc_fnf’:
beam/erl_binary.h:263: warning: implicit declaration of function
‘erts_realloc_fnf’
beam/erl_binary.h:263: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h:265: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h: In function ‘erts_bin_realloc’:
beam/erl_binary.h:277: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h:279: warning: assignment makes pointer from integer
without a cast
beam/erl_binary.h:281: warning: implicit declaration of function
‘erts_realloc_n_enomem’
beam/erl_binary.h: In function ‘erts_create_magic_binary’:
beam/erl_binary.h:305: warning: initialization makes pointer from
integer without a cast
beam/erl_binary.h:307: warning: implicit declaration of function
‘erts_alloc_n_enomem’
hipe/hipe_mkliterals.c: At top level:
hipe/hipe_mkliterals.c:264: error: ‘struct process’ has no member
named ‘off_heap’
hipe/hipe_mkliterals.c:265: error: ‘struct process’ has no member
named ‘mbuf’
hipe/hipe_mkliterals.c:266: error: ‘struct process’ has no member
named ‘id’
hipe/hipe_mkliterals.c:267: error: ‘struct process’ has no member
named ‘flags’
hipe/hipe_mkliterals.c:268: error: ‘struct process’ has no member
named ‘fvalue’
hipe/hipe_mkliterals.c:269: error: ‘struct process’ has no member
named ‘freason’
hipe/hipe_mkliterals.c:270: error: ‘struct process’ has no member
named ‘ftrace’
hipe/hipe_mkliterals.c:371: error: ‘struct process’ has no member
named ‘msg’
hipe/hipe_mkliterals.c:372: error: ‘struct process’ has no member
named ‘msg’
hipe/hipe_mkliterals.c:459: error: ‘struct process’ has no member
named ‘off_heap’
hipe/hipe_mkliterals.c:459: error: request for member ‘first’ in
something not a structure or union
hipe/hipe_mkliterals.c:461: error: initializer element is not constant
hipe/hipe_mkliterals.c:461: error: (near initialization for
‘rts_params[0].value’)
make[2]: *** [obj/x86_64-unknown-linux-gnu/opt/plain/
hipe_mkliterals.o] Error 1
make[2]: Leaving directory `/home/ingo/install/otp_src_R14B/erts/
emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory `/home/ingo/install/otp_src_R14B/erts/
emulator'
make: *** [depend] Error 2
More information about the erlang-questions
mailing list