Opened 5 years ago

Closed 5 years ago

#4599 closed bug (invalid)

Bonnie++ no longer compiles in Haiku R1 Alpha 1

Reported by: Coldfirex Owned by: axeld
Priority: normal Milestone: R1
Component: Build System Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

From the blog post by emitrax (http://www.haiku-os.org/blog/emitrax/2008-07-30/file_system_benchmark_suite_for_haiku#comment-12413) bonnie++ used to work in Haiku pre-Alpha R1. I downloaded and attempted to compile the version of bonnie++ he had working. When I attempted to compile it, it failed.

/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:139: type specifier omitted for parameter
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:139: parse error before `*'
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp: In function `void ctrl_c_handler(...)':
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:143: `siginf' undeclared (first use this function)
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:143: (Each undeclared identifier is reported only once
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:143: for each function it appears in.)
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp: In function `int main(int, char )':
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:170: struct sigaction' has no member named sa_sigaction'
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:171: `SA_SIGINFO' undeclared (first use this function)
/boot/home/Desktop/bonnie++-1.03d/bonnie++.cpp:184: struct sigaction' has no member named sa_sigaction'
make:
* [bonnie++] Error 1

Haiku R1 Alpha 1 in VirtualBox 3.06, installed via ISO.

Change History (3)

comment:1 Changed 5 years ago by anevilyak

Hm, it builds fine here using both compilers...did you tell configure anything special?

comment:2 Changed 5 years ago by Coldfirex

anevilyak - You are right. Please close. I did not run ./configure before make. *runs and hides*

comment:3 Changed 5 years ago by umccullough

  • Component changed from - General to Build System
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.