Cannot compile on amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libflaim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
First, there is a problem in Makefile that not permits to compile on amd64.
The following lines are missing in Makefile:
ifndef host_native_
ifneq (,$(findstring amd64,$(HOSTTYPE)))
endif
endif
But, when I tried to compile I've got:
# dpkg-buildpackage -rfakeroot -uc -b
...
src/fsysdata.cpp: In function 'RCODE FlmConfig(
src/fsysdata.
make[1]: *** [/root/
Some hint?
I don't know if this a good solution. I modified src/fsysdata.cpp line 1071 putting a double cast:
if( (FLMBOOL) (FLMINT) Value1)
And the code compiled ok. But just and the end of dpkg-buildpackage I got another error:
Installation complete. libflaim- 4.9.966' elogs /root/libflaim- 4.9.966/ debian/ tmp
make[1]: Leaving directory `/root/
dh_testdir
dh_testroot
dh_installchang
dh_installdocs
dh_installexamples
dh_install --sourcedir=
dh_install: libflaim-dev missing files (usr/lib/lib*.a), aborting
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
some new hint?