Compiling fjbtndrv module for a Fujitsu T900 tablet-pc

Hi,
Specs:

  • laptop is Fujitsu T900 tablet-pc (RAM 8G | ssd 240G | microp Intel Core i7 M620)
  • opensuse 12.1 x86_64

I have download the sources v2.3.2 from sourceforge project (fjbtndrv | Free software downloads at SourceForge.net)
I have uncompressed in /opt
$ tar xvzf fjbtndrv-2.3.2.tar.gz

$ cd fjbtndrv-2.3.2

$ ./configure

$ make
fscrotd.c:33:24: fatal error: hal/libhal.h: don’t exist file or directory

I cannot find ‘libhal’ in my OS directories neither in any oss, non-oss, update, … repositories.

Are there any place where I can download this package?

Thanks in advance.

Hi
You need the respective devel file for the headers (*.h files). It should be hal-devel.

Thanks malcolmlewis,
I cannot find any candidate for hal-devel in the opensuse 12.1 repositories:

     $ sudo  zypper refresh
       All repos are updated
     $ zypper lr                                                                                                                                                  

| Alias | Nombre | Activado | Actualizar

—±----------------------------------------±------------------------------------------------------------±---------±----------
1 | MALCOLMLEWIS-OPENSUSE_11.4-FUJITSU-BTNS | MALCOLMLEWIS-OPENSUSE_12.1-FUJITSU-BTNS | Si | Si
2 | OPENSUSE-EDU | OPENSUSE-EDU | Si | Si
3 | Opensuse-11.4_PRINTING | Opensuse-12.1_PRINTING | Si | Si
4 | Packman Repository | Packman Repository | Si | Si
5 | SuSE12.1 | openSUSE-12.1 OSS | Si | Si
6 | SuSE12.1non-OSS | openSUSE-12.1 non-OSS | Si | Si
7 | Update12.1 | openSUSE-12.1 Update | Si | Si
8 | VLC-OpenSuSE_11.4 | VLC-OpenSuSE | Si | Si
9 | download.nvidia.com-opensuse | nVidia Graphics Drivers | No | No
10 | google-chrome | google-chrome | No | No
11 | google-earth | google-earth | Si | No
12 | google-talkplugin | google-talkplugin | Si | No
13 | home:XroadracerX | home:XroadracerX | No | No
14 | home_Ximi1970_bumblebee-unstable | Optimus Support for Linux Through VirtualGL (openSUSE_12.1) | No | Si
15 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4 | No | No
16 | packman-essentials | packman-essentials

     $ rpm -qa|grep hal

phalanx-22-656.1.2.x86_64
hal-0.5.14-18.1.x86_64

     $ zypper se hal

E | Nombre | Resumen | Tipo
–±------------------------±-------------------------------------------±--------
i | hal | Daemon for Collecting Hardware Information | paquete
| kadu-sound-michalsrodek | Michalsrodek sound theme for Kadu | paquete
| myspell-sinhala | Sinhala Dictionary for MySpell | paquete
i | phalanx | Programa de ajedrez. | paquete

I have downloaded a hal-devel-0.5.14-88.1.x86_64.rpm (different version that my hal) from pbone.net
I have uncompressed the files with:

     $ rpm2cpio myrpmfile.rpm | cpio -idmv

and put libhal.h in src directory of the fjbtndrv installation.
Now the make command show me the errors like:

fscrotd-fscrotd.o: In function get_tablet_sw': /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:214: undefined reference to dbus_error_init’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:216: undefined reference to libhal_device_get_property_bool' /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:218: undefined reference to dbus_error_is_set’
fscrotd-fscrotd.o: In function get_tablet_orientation': /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:233: undefined reference to dbus_error_init’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:238: undefined reference to libhal_device_get_property_string' /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:240: undefined reference to dbus_error_is_set’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:259: undefined reference to `libhal_free_string’

Seems that my libhal.h isn’t appropriate.

Where can I search the aproppriate package?

Thanks for the support.

On Wed 23 Oct 2013 09:06:02 PM CDT, mjgumbau wrote:

malcolmlewis;2592916 Wrote:
> Hi
> You need the respective devel file for the headers (*.h files). It
> should be hal-devel.

Thanks malcolmlewis,
I cannot find any candidate for hal-devel in the opensuse 12.1
repositories:

$ sudo zypper refresh
All repos are updated
$ zypper lr

| Alias | Nombre

| Activado | Actualizar

—±----------------------------------------±------------------------------------------------------------±---------±----------

1 | MALCOLMLEWIS-OPENSUSE_11.4-FUJITSU-BTNS |
MALCOLMLEWIS-OPENSUSE_12.1-FUJITSU-BTNS | Si |
Si
2 | OPENSUSE-EDU | OPENSUSE-EDU
| Si | Si

3 | Opensuse-11.4_PRINTING | Opensuse-12.1_PRINTING
| Si | Si

4 | Packman Repository | Packman Repository
| Si | Si

5 | SuSE12.1 | openSUSE-12.1 OSS
| Si | Si

6 | SuSE12.1non-OSS | openSUSE-12.1 non-OSS
| Si | Si

7 | Update12.1 | openSUSE-12.1 Update
| Si | Si

8 | VLC-OpenSuSE_11.4 | VLC-OpenSuSE
| Si | Si

9 | download.nvidia.com-opensuse | nVidia Graphics Drivers
| No | No

10 | google-chrome | google-chrome
| No | No

11 | google-earth | google-earth
| Si | No

12 | google-talkplugin | google-talkplugin
| Si | No

13 | home:XroadracerX | home:XroadracerX
| No | No

14 | home_Ximi1970_bumblebee-unstable | Optimus Support for Linux
Through VirtualGL (openSUSE_12.1) | No | Si
15 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4
| No | No
16 | packman-essentials | packman-essentials

$ rpm -qa|grep hal
phalanx-22-656.1.2.x86_64
hal-0.5.14-18.1.x86_64

$ zypper se hal

E | Nombre | Resumen
| Tipo
–±------------------------±-------------------------------------------±--------
i | hal | Daemon for Collecting Hardware Information
| paquete
| kadu-sound-michalsrodek | Michalsrodek sound theme for Kadu
| paquete
| myspell-sinhala | Sinhala Dictionary for MySpell
| paquete
i | phalanx | Programa de ajedrez.
| paquete

I have downloaded a hal-devel-0.5.14-88.1.x86_64.rpm (different version
that my hal) from pbone.net
I have uncompressed the files with:

$ rpm2cpio myrpmfile.rpm | cpio -idmv

and put libhal.h in src directory of the fjbtndrv installation.
Now the make command show me the errors like:

fscrotd-fscrotd.o: In function get_tablet_sw': /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:214: undefined reference to dbus_error_init’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:216: undefined reference to
libhal_device_get_property_bool' /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:218: undefined reference to dbus_error_is_set’
fscrotd-fscrotd.o: In function get_tablet_orientation': /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:233: undefined reference to dbus_error_init’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:238: undefined reference to
libhal_device_get_property_string' /opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:240: undefined reference to dbus_error_is_set’
/opt/fjbtndrv/fjbtndrv-2.3.2/src/fscrotd.c:259: undefined reference to
`libhal_free_string’

Seems that my libhal.h isn’t appropriate.

Where can I search the aproppriate package?

Thanks for the support.

Hi
Headers files don’t need to be with the src… they are in /usr/include
directory. As 12.1 isn’t supported any more you may have to troll the
discontinued mirrors for the hal-devel rpm…‭

There is a version here;
ftp://ftp5.gwdg.de/pub/opensuse/repositories/home:/vodoo/openSUSE_12.1/


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLED 11 SP3 (x86_64) GNOME 2.28.0 Kernel 3.0.93-0.8-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Great Malcolmlewis,
it works. I can compile the module now.

Thanks for your valuable advice.