Package Details: x48 0.6.4-2

Git Clone URL: https://aur.archlinux.org/x48.git (read-only)
Package Base: x48
Description: An HP 48 x/sx/g/gx Emulator
Upstream URL: http://sourceforge.net/projects
Licenses: GPL3
Conflicts: x48
Provides: x48=0.6.4
Submitter: ewaller
Maintainer: ewaller
Last Packager: ewaller
Votes: 6
Popularity: 0.647065
First Submitted: 2016-03-31 15:11
Last Updated: 2016-03-31 16:07

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

aurelieng commented on 2017-06-18 10:53

Thanks a lot, it works perfectly now. :)

vicnat commented on 2017-06-18 10:40

Solution without having to create a patch:

If you are using pacaur or yaourt when you get the question if you want to edit or view the PKGBUILD, say yes and add the following line before the command make in the section build() in PKGBUILD file.

sed -i '698s/inline/static inline/' src/emulate.c

This will allow to compile and complete the installation.

I have tested and it works, of course you have to have installed sed.

aurelieng commented on 2017-06-18 04:36

I have the following error, and changing 'inline int' to 'static inline int' doesn't seem to be enough:

emulate.o: In function `step_instruction':
emulate.c:(.text+0x1123): undefined reference to `decode_8_thru_f'
collect2: error: ld returned 1 exit status

Any idea?

vicnat commented on 2017-06-16 14:55

To be able to compile, it is necessary to apply a patch to emulate.c
Maybe PKGBUILD can be updated to do the patch.

-------
--- emulate.orig 2017-06-16 16:44:21.523204139 +0200
+++ emulate.diff 2017-06-16 16:45:03.086336535 +0200
@@ -695,7 +695,7 @@
}
}

-inline int
+static inline int
#ifdef __FunctionProto__
decode_8_thru_f(int op1)
#else
-------------

khampf commented on 2016-12-21 12:50

Upstream URL should probably be https://sourceforge.net/projects/x48.berlios/
I had to download the sources to get any idea of how to properly quit the emulator (just close the window) but this is great!

ewaller commented on 2016-03-31 16:37

If the program complains about not being able to load a font for connectionFont,
Start the program with the option: -connFont fixed