You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2022. It is now read-only.
I'm trying to build this from the latest tarball on the releases page, I have the required packages installed and can run configure without errors but when I try to compile I get a large number of compiler/linker errors. I've included the console output from trying to run make immediately after running configure.
I'd be happy to provide any more information that might be helpful.
username@hostname:~/git/xSDM-0.1.3-beta$ make
Making all in src
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/src'
depbase=echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';
gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:133:16: warning: format ‘%s’ expects argument of type ‘char _’, but argument 3 has type ‘void *’ [-Wformat=]
);
^
main.c:155:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uLong’ [-Wformat=]
fprintf(stderr, "%s: crc32: 0x%08X; orig: 0x%08X\n", argv[0], crc, unpackData.checksum);
^
main.c:164:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘uLong’ [-Wformat=]
);
^
main.c:206:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s",sdcDir,dirName);
^
main.c:226:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s/%s",sdcDir,dirName,baseName);
^
main.c:246:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(r = fseek(in,headerSize+4,SEEK_SET)!=0)
^
main.c:78:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(unformatted,1,unformattedLength,key);
^
main.c:98:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(hdrSizeBuff,1,4,in);
^
depbase=echo xsdc.o | sed 's|[^/]_$|.deps/&|;s|.o$||';
gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT xsdc.o -MD -MP -MF $depbase.Tpo -c -o xsdc.o xsdc.c &&
mv -f $depbase.Tpo $depbase.Po
xsdc.c: In function ‘loadHeader’:
xsdc.c:141:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(data,1,hdrSize,f);
^
gcc -Wall -g -O2 -o xsdm main.o xsdc.o -lmcrypt -lz
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/src'
Making all in tests
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta'
The text was updated successfully, but these errors were encountered:
Hi there,
I'm trying to build this from the latest tarball on the releases page, I have the required packages installed and can run configure without errors but when I try to compile I get a large number of compiler/linker errors. I've included the console output from trying to run make immediately after running configure.
I'd be happy to provide any more information that might be helpful.
username@hostname:~/git/xSDM-0.1.3-beta$ make
Making all in src
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/src'
depbase=
echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&
mv -f $depbase.Tpo $depbase.Po
main.c: In function ‘main’:
main.c:133:16: warning: format ‘%s’ expects argument of type ‘char _’, but argument 3 has type ‘void *’ [-Wformat=]
);
^
main.c:155:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘uLong’ [-Wformat=]
fprintf(stderr, "%s: crc32: 0x%08X; orig: 0x%08X\n", argv[0], crc, unpackData.checksum);
^
main.c:164:9: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘uLong’ [-Wformat=]
);
^
main.c:206:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s",sdcDir,dirName);
^
main.c:226:5: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
sprintf(outFile,"%s/%s/%s",sdcDir,dirName,baseName);
^
main.c:246:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(r = fseek(in,headerSize+4,SEEK_SET)!=0)
^
main.c:78:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(unformatted,1,unformattedLength,key);
^
main.c:98:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(hdrSizeBuff,1,4,in);
^
depbase=
echo xsdc.o | sed 's|[^/]_$|.deps/&|;s|.o$||'
;gcc -DPACKAGE_NAME="xsdm" -DPACKAGE_TARNAME="xsdm" -DPACKAGE_VERSION="0.1.3" -DPACKAGE_STRING="xsdm\ 0.1.3" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DPACKAGE="xsdm" -DVERSION="0.1.3" -DHAVE_LIBZ=1 -DHAVE_LIBMCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ERRNO_H=1 -DHAVE_STDIO_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_ZLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STRSTR=1 -DHAVE_STRTOUL=1 -I. -Wall -g -O2 -MT xsdc.o -MD -MP -MF $depbase.Tpo -c -o xsdc.o xsdc.c &&
mv -f $depbase.Tpo $depbase.Po
xsdc.c: In function ‘loadHeader’:
xsdc.c:141:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(data,1,hdrSize,f);
^
gcc -Wall -g -O2 -o xsdm main.o xsdc.o -lmcrypt -lz
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/src'
Making all in tests
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta/tests'
make[1]: Entering directory '/home/username/git/xSDM-0.1.3-beta'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/home/username/git/xSDM-0.1.3-beta'
The text was updated successfully, but these errors were encountered: