General discussion forum - for all that doesn't fit in any other category.
-
ldkraemer
- Posts: 51
- Joined: Thu Feb 28, 2013 3:47 am
Post
by ldkraemer »
I've downloaded the r1959 version of software from SF. I'm getting the following errors when I try to
build the code.
Code: Select all
$make
make -C ../libhxcadaptor/trunk/build/
make[1]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcadaptor/trunk/build'
gcc -o libhxcadaptor.o -c ../sources/libhxcadaptor.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
gcc -o fs.o -c ../sources/fs.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
gcc -o network.o -c ../sources/network.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
ar r libhxcadaptor.a libhxcadaptor.o fs.o network.o
cp libhxcadaptor.a ../../../build
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcadaptor/trunk/build'
make -C ../libhxcfe/trunk/build/
make[1]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcfe/trunk/build'
cd ../sources/xml_disk/converttools/bmptob8 && make
make[2]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcfe/trunk/sources/xml_disk/converttools/bmptob8'
cc -o bmptoh.o -c bmptoh.c -O3 -I../../.. -Wall
In file included from bmptoh.c:9:0:
./stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
#error "Use this header only with Microsoft Visual C++ compilers!"
^~~~~
In file included from bmptoh.c:9:0:
./stdint.h:89:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
typedef signed __int64 int64_t;
^~~~~~~
./stdint.h:90:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
typedef unsigned __int64 uint64_t;
^~~~~~~~
./stdint.h:101:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_least64_t;
^~~~~~~~
./stdint.h:111:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_fast64_t;
^~~~~~~~
./stdint.h:124:9: error: unknown type name ‘uint64_t’
typedef uint64_t uintmax_t;
^~~~~~~~
Makefile:12: recipe for target 'bmptoh.o' failed
make[2]: *** [bmptoh.o] Error 1
make[2]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcfe/trunk/sources/xml_disk/converttools/bmptob8'
Makefile:811: recipe for target 'bmptoh' failed
make[1]: *** [bmptoh] Error 2
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1959/HxCFloppyEmulator/libhxcfe/trunk/build'
Makefile:9: recipe for target 'libhxcfe' failed
make: *** [libhxcfe] Error 2
larry@debian:
That last version I built that worked was r1920. I have also tried r1959, but that revision also has the same problem.
I need a bit of help getting the code built.
Thanks.
Larry
-
Jeff
- Site Admin
- Posts: 8093
- Joined: Fri Oct 20, 2006 12:12 am
- Location: Paris
-
Contact:
Post
by Jeff »
I have pushed a "possible" fix. Please try it.
-
ldkraemer
- Posts: 51
- Joined: Thu Feb 28, 2013 3:47 am
Post
by ldkraemer »
Jeff,
Nope, I still have errors for r1960.
Code: Select all
larry@debian:~/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/build$ make
make -C ../libhxcadaptor/trunk/build/
make[1]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcadaptor/trunk/build'
gcc -o libhxcadaptor.o -c ../sources/libhxcadaptor.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
gcc -o fs.o -c ../sources/fs.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
gcc -o network.o -c ../sources/network.c -O3 -I../sources/ -I ../../../libhxcfe/trunk/sources -I ../../../libusbhxcfe/trunk/sources -Wall -fPIC -Wl,-Map,foo.map
ar r libhxcadaptor.a libhxcadaptor.o fs.o network.o
ar: creating libhxcadaptor.a
cp libhxcadaptor.a ../../../build
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcadaptor/trunk/build'
make -C ../libhxcfe/trunk/build/
make[1]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcfe/trunk/build'
cd ../sources/xml_disk/converttools/bmptob8 && make
make[2]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcfe/trunk/sources/xml_disk/converttools/bmptob8'
cc -o bmptoh.o -c bmptoh.c -O3 -I../../.. -Wall
In file included from /usr/include/inttypes.h:27:0,
from bmptoh.c:9:
./stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
#error "Use this header only with Microsoft Visual C++ compilers!"
^~~~~
In file included from /usr/include/inttypes.h:27:0,
from bmptoh.c:9:
./stdint.h:89:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
typedef signed __int64 int64_t;
^~~~~~~
./stdint.h:90:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
typedef unsigned __int64 uint64_t;
^~~~~~~~
./stdint.h:101:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_least64_t;
^~~~~~~~
./stdint.h:111:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_fast64_t;
^~~~~~~~
./stdint.h:124:9: error: unknown type name ‘uint64_t’
typedef uint64_t uintmax_t;
^~~~~~~~
Makefile:12: recipe for target 'bmptoh.o' failed
make[2]: *** [bmptoh.o] Error 1
make[2]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcfe/trunk/sources/xml_disk/converttools/bmptob8'
Makefile:811: recipe for target 'bmptoh' failed
make[1]: *** [bmptoh] Error 2
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1960/HxCFloppyEmulator/libhxcfe/trunk/build'
Makefile:9: recipe for target 'libhxcfe' failed
make: *** [libhxcfe] Error 2
larry@debian
Larry
-
Jeff
- Site Admin
- Posts: 8093
- Joined: Fri Oct 20, 2006 12:12 am
- Location: Paris
-
Contact:
Post
by Jeff »
ok, i have removed this stdint.h who is troubling your build system. Should work now. (was always working an LinuxMint / gcc version 7.4.0 fyi)
-
ldkraemer
- Posts: 51
- Joined: Thu Feb 28, 2013 3:47 am
Post
by ldkraemer »
Jeff,
I am still getting one error on r1966. Here is the error listing.
Code: Select all
Compiling Fl_JPEG_Image.cxx...
Compiling Fl_PNG_Image.cxx...
Compiling Fl_PNM_Image.cxx...
/usr/bin/ar cr ../lib/libfltk_images.a ...
make[2]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/thirdpartylibs/fltk/fltk-1.3.x/src'
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/thirdpartylibs/fltk/fltk-1.3.x'
make -C ../HxCFloppyEmulator_software/trunk/build/
make[1]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/build'
cd ../sources/gui/microintro/converttools/bmptob8 && make
make[2]: Entering directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/gui/microintro/converttools/bmptob8'
cc -o bmptoh.o -c bmptoh.c -O3 -I../../.. -Wall
In file included from bmptoh.c:9:0:
./stdint.h:33:2: error: #error "Use this header only with Microsoft Visual C++ compilers!"
#error "Use this header only with Microsoft Visual C++ compilers!"
^~~~~
In file included from bmptoh.c:9:0:
./stdint.h:89:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
typedef signed __int64 int64_t;
^~~~~~~
./stdint.h:90:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
typedef unsigned __int64 uint64_t;
^~~~~~~~
./stdint.h:101:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_least64_t;
^~~~~~~~
./stdint.h:111:9: error: unknown type name ‘uint64_t’
typedef uint64_t uint_fast64_t;
^~~~~~~~
./stdint.h:124:9: error: unknown type name ‘uint64_t’
typedef uint64_t uintmax_t;
^~~~~~~~
Makefile:12: recipe for target 'bmptoh.o' failed
make[2]: *** [bmptoh.o] Error 1
make[2]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/sources/gui/microintro/converttools/bmptob8'
Makefile:216: recipe for target 'bmptoh' failed
make[1]: *** [bmptoh] Error 2
make[1]: Leaving directory '/home/larry/Downloads/HxC/hxcfloppyemu-code-r1966/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk/build'
Makefile:31: recipe for target 'HxCFloppyEmulator_software' failed
make: *** [HxCFloppyEmulator_software] Error 2
larry@debian:
-
Jeff
- Site Admin
- Posts: 8093
- Joined: Fri Oct 20, 2006 12:12 am
- Location: Paris
-
Contact:
Post
by Jeff »
Indeed... This time this should be ok
-
ldkraemer
- Posts: 51
- Joined: Thu Feb 28, 2013 3:47 am
Post
by ldkraemer »
Jeff,
THANKS, Version r1969 builds correctly for Software revision 2.4.1.1
Larry