Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 213095

Summary: app-emulation/basiliskII-jit-1.0.0-r1 fails to compile
Product: Gentoo Linux Reporter: Daniel <dmvianna>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Daniel 2008-03-12 03:40:16 UTC
app-emulation/basiliskII-jit-1.0.0-r1 fails to compile. Disabling use flags does not help.

Reproducible: Always

Steps to Reproduce:
1. emerge =app-emulation/basiliskII-jit-1.0.0-r1

Actual Results:  
compile fails, error as follows:

c++ -I../include -I. -I../uae_cpu -DHAVE_CONFIG_H  -DOS_linux -DCPU_i386 -DDIRECT_ADDRESSING -fno-strength-reduce -DSAHF_SETO_PROFITABLE -DUNALIGNED_PROFITABLE -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/usr/share/BasiliskII\"  -O2 -mtune=i686 -pipe -fno-exceptions -fno-merge-constants -c sys_unix.cpp -o obj/sys_unix.o
sys_unix.cpp:36: error: ‘_llseek’ has not been declared
sys_unix.cpp:36: error: ‘fd’ has not been declared
sys_unix.cpp:36: error: ‘hi’ has not been declared
sys_unix.cpp:36: error: ‘lo’ has not been declared
sys_unix.cpp:36: error: ‘res’ has not been declared
sys_unix.cpp:36: error: ‘wh’ has not been declared
sys_unix.cpp:36: error: expected constructor, destructor, or type conversion before ‘;’ token
sys_unix.cpp: In function ‘void* Sys_open(const char*, bool)’:
sys_unix.cpp:299: error: ‘_llseek’ was not declared in this scope
sys_unix.cpp: In function ‘size_t Sys_read(void*, void*, loff_t, size_t)’:
sys_unix.cpp:380: error: ‘_llseek’ was not declared in this scope
sys_unix.cpp: In function ‘size_t Sys_write(void*, void*, loff_t, size_t)’:
sys_unix.cpp:406: error: ‘_llseek’ was not declared in this scope
make: *** [obj/sys_unix.o] Error 1


Expected Results:  
Compilation should be successful
Comment 1 Daniel 2008-03-12 03:49:33 UTC
Created attachment 145876 [details]
emerge --info
Comment 2 Daniel 2008-03-12 04:13:21 UTC

*** This bug has been marked as a duplicate of bug 185937 ***