The following warnings occurred:
Warning [2] Undefined array key 213720 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 213761 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 213836 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 213845 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 214024 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 214056 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 214067 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 214072 - Line: 275 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 275 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $thread - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $fid - Line: 295 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 295 errorHandler->error_callback
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined array key 214072 - Line: 331 - File: inc/plugins/threaded_mode.php PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php 331 errorHandler->error_callback
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 332 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 304 ThreadedMode::buildtree
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $theme - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Trying to access array offset on value of type null - Line: 3 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 3 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Undefined variable $lang - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks
Warning [2] Attempt to read property "messages_in_thread" on null - Line: 5 - File: inc/plugins/threaded_mode.php(305) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/threaded_mode.php(305) : eval()'d code 5 errorHandler->error_callback
/inc/plugins/threaded_mode.php 305 eval
/inc/plugins/threaded_mode.php 23 ThreadedMode::showthread_threaded
/inc/class_plugins.php 142 threaded_mode_showthread_threaded
/showthread.php 918 pluginSystem->run_hooks





Problems building WP34s



#2

I have installed Yagarto, minGW, activeperl and Visual C++. Cheked out the project from SVN and hit the build button in Eclipse. Unfortunately I get the folling error:

......
-DUSECURSES -o windows32/obj/winserial.o winserial.c
mingw32-gcc -E -P -x c -Ixrom -DCOMPILE_XROM xrom.wp34s > xrom_pre.wp34s
tools/wp34s_asm.pl -pp -op tools/wp34s.op -c -o xrom.c xrom_pre.wp34s
// WP 34S assembly preprocessor enabled: '-pp'
// Opcode map source: tools/wp34s.op (specified)
// Opcode SVN version: -- unknown --
// DEBUG: wp34s_asm.pl::run_pp: Stools/ F B'wp34s_pp.pl'
// Running WP 34S preprocessor from: tools/wp34s_pp.pl
Out of memory during request for 4080 bytes, total sbrk() is 267778048 bytes!
make: *** [xrom.c] Error 1

What is going wrong here?

Alternatively I can click on the "flash" or "xtal" make target and then get the following error - which I don't understand either, because the path is correct.

......
tools/wp34s_asm.pl -pp -op tools/wp34s.op -c -o xrom.c xrom_pre.wp34s
ERROR: C:\ARM_toolchain\workspace\wp34s\tools\wp34s_asm.pl::run_pp: Cannot locate the assembly preprocessor in 'wp34s_pp.pl' or './wp34s_pp.pl'
// WP 34S assembly preprocessor enabled: '-pp'
// Opcode map source: tools/wp34s.op (specified)
// Opcode SVN version: -- unknown --
// DEBUG: C:\ARM_toolchain\workspace\wp34s\tools\wp34s_asm.pl::run_pp: S./ F B'wp34s_pp.pl'
mingw32-make[1]: *** [xrom.c] Error 2
mingw32-make[1]: Leaving directory `C:/ARM_toolchain/workspace/wp34s'
make: *** [realbuild/calc.bin] Error 2
make: Target `all' not remade because of errors.

**** Build Finished ****


#3

I see two problems:

You need to run "make REALBUILD=1 all" in Eclipse which requires a custom make target. I don't know why this isn't part of the eclipse project. I fear this is only stored in the (local) workspace. Just running "make all" will build the Windows console version which is nice for testing but not for any real use. The flash.cmd file does the right things for you.

In your second approach I see the next problem: Somehow ActivePerl cannot reliably compile the XROM part of the project (keystroke programs building part of the math library.) You should try to run Neil's tools from the command line on a simple input file (e. g. from the library) to make sure it works correctly. Better extend the PATH variable to point to the tools directory of the project.

BTW, next time surround you pasted messages by [pre] tags to tell the forum software to keep the line ends intact, please. It makes a better reading.


#4

Quote:
In your second approach I see the next problem: Somehow ActivePerl cannot reliably compile the XROM part of the project (keystroke programs building part of the math library.) You should try to run Neil's tools from the command line on a simple input file (e. g. from the library) to make sure it works correctly. Better extend the PATH variable to point to the tools directory of the project.

I did get it to sort of work on the comand line now. compiling the XROM works there, and I do get a calc.bin and a calc_xtal.bin. But not the _full versions or the emulator. I am not really bothered about the emulator though.

I now get the following errors (on the comand line)
usr/bin/sh: grep: command not found
usr/bin/sh: tail: command not found
I guess one shouldn't try to do software if one hasn't got a clue about these things... ;)

Quote:
BTW, next time surround you pasted messages by [pre] tags to tell the forum software to keep the line ends intact, please. It makes a better reading.

Thanks, I was wondering how to do this here.


#5

Try to install MSYS, the MINGW part wich contains grep, tail, etc. And add it to your PATH.

The README_QTGUI.txt in the trunk/QtGui directory try to explains how to compile the project, at least to build the emulator.


#6

msys was installed, but not in the path. However that only got me to the next error message. So the conclusion is, that the software will have to stay as it is...time to give up on this.

Thanks for all your help.


#7

What is the message? Your information might help us to create a HOW TO for building the software.


#8

grep and tail both crash with the message "grep/tail hat ein Problem festgestellt und muß beendet werden" Unfortunately there is no further info as to what the problem is. I am running Windows XP SP3. Has the build process been tested on XP? Or is it related to my Operating system?


#9

grep and tail should work :-(. These are standard Unix utilities. Your MinGW installation must be broken.

I'm doing all my work in an XP virtual machine on my Mac.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Building WP 34s emulator on Linux Eric Smith 3 1,495 07-25-2013, 03:03 PM
Last Post: Marcus von Cube, Germany
  Questions about building a RAM card for hp 48 Waon Shinyoe (China) 0 1,085 07-09-2013, 09:53 PM
Last Post: Waon Shinyoe (China)
  [WP34S] WP34S firmware on the AT91SAM7L-STK dev kit? jerome ibanes 1 1,177 10-04-2012, 04:59 PM
Last Post: Paul Dale
  Building WP-34S calc.bin from source - long post (sorry!) Nigel J Dowrick 5 2,176 07-14-2012, 07:41 AM
Last Post: Paul Dale
  Problem building calc.bin? Ed Wright 9 2,394 03-29-2012, 02:02 PM
Last Post: Marcus von Cube, Germany
  Help building WP34s calc.bin Ed Wright 11 2,903 02-19-2012, 04:26 AM
Last Post: Marcus von Cube, Germany
  [wp34s] Incomplete Gamma on the wp34s Les Wright 18 4,971 12-06-2011, 11:07 AM
Last Post: Namir
  [wp34s] Romberg Integration on the wp34s Les Wright 2 1,448 12-04-2011, 10:49 PM
Last Post: Les Wright
  Instructions for building WP-34s loads. Dominic Richens 27 6,225 09-27-2011, 01:39 AM
Last Post: Walter B
  WP34s: flash problems fhub 3 1,214 08-11-2011, 04:53 AM
Last Post: Paul Dale

Forum Jump: