Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on build related to delfiles() #2

Open
ftoledo opened this issue Jul 9, 2020 · 0 comments
Open

error on build related to delfiles() #2

ftoledo opened this issue Jul 9, 2020 · 0 comments

Comments

@ftoledo
Copy link

ftoledo commented Jul 9, 2020

building syncterm i notice some errors :

inflating: ../../src/../3rdp/src/cl/zlib/zconf.h  [text]  
  inflating: ../../src/../3rdp/src/cl/zlib/zlib.h  [text]  
  inflating: ../../src/../3rdp/src/cl/zlib/zutil.c  [text]  
  inflating: ../../src/../3rdp/src/cl/zlib/zutil.h  [text]  
patching file ./cryptlib.h
patching file ./kernel/attr_acl.c
patching file ./session/sess_attr.c
patching file ./session/ssh2_msgc.c
patching file makefile
Hunk #1 succeeded at 1967 (offset 73 lines).
patching file tools/buildlib.sh
Hunk #1 succeeded at 66 (offset -9 lines).
patching file crypt32.vcxproj
Hunk #3 succeeded at 134 with fuzz 1.
patching file misc/os_detect.h
patching file crypt/osconfig.h
patching file cert/dn.c
patching file misc/config.h
patching file cert/ext_add.c
Hunk #1 succeeded at 453 (offset 2 lines).
patching file tools/ccopts.sh
Hunk #1 succeeded at 396 with fuzz 1 (offset 91 lines).
patching file tools/ccopts.sh
patching file crypt.h
patching file tools/ccopts.sh
Hunk #1 succeeded at 241 with fuzz 1.
patching file session/ssh2_authc.c
patching file tools/ccopts.sh
Hunk #1 succeeded at 261 with fuzz 1 (offset 2 lines).
patching file tools/ccopts.sh
Hunk #1 succeeded at 395 with fuzz 1 (offset 2 lines).
Hunk #2 succeeded at 421 (offset 2 lines).
patching file session/sess_attr.c
patching file misc/consts.h
patching file misc/os_detect.h
ansi_cio.c:871:6: error: conflicting types for ‘ansi_beep’
 void ansi_beep(void)
      ^~~~~~~~~
In file included from ansi_cio.c:48:0:
ansi_cio.h:71:5: note: previous declaration of ‘ansi_beep’ was here
 int ansi_beep(void);
     ^~~~~~~~~
Compiling dat_file.c
../build/Common.gmake:455: fallo en las instrucciones para el objetivo 'gcc.linux.x64.obj.debug-mt/ansi_cio.o'
make[1]: *** [gcc.linux.x64.obj.debug-mt/ansi_cio.o] Error 1
make[1]: se sale del directorio '/home/ragnarok/src/ftoledo/sbbs/git/src/conio'
../build/Common.gmake:503: fallo en las instrucciones para el objetivo 'ciolib-mt'
make: *** [ciolib-mt] Error 2
make: *** Se espera a que terminen otras tareas....
Compiling uifcx.c
patching file ./test/test.h
patching file misc/consts.h
patching file tools/ccopts.sh
patching file crypt.h
patching file bn/bn_asm.c
patching file misc/config.h
patching file session/ssl_hs.c
patching file misc/config.h
patching file session/ssl_suites.c
patching file session/ssl_ext.c
patching file session/ssl_kmgmt.c
patching file ./session/ssl_hs.c
patching file misc/config.h
patching file session/ssh2.c
patching file session/ssh2_crypt.c
uifcx.c: In function ‘uifcinix’:
uifcx.c:80:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     api->msg=umsg;
             ^
patching file session/ssl_suites.c
patching file tools/ccopts.sh
patching file crypt/aesopt.h
patching file session/ssh2_crypt.c
make[1]: Entering directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
make[2]: Entering directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
Compiling datewrap.c
make[2]: Leaving directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
make[2]: Entering directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
Compiling dirwrap.c
make[2]: Leaving directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
make[1]: Leaving directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
Compiling filewrap.c
dirwrap.c: In function ‘removecase’:
dirwrap.c:744:9: error: too many arguments to function ‘delfiles’
  return(delfiles(inpath,fname,0) >=1 ? 0 : -1);
         ^~~~~~~~
In file included from dirwrap.c:85:0:
dirwrap.h:233:26: note: declared here
 DLLEXPORT ulong  DLLCALL delfiles(const char *inpath, const char *spec);
                          ^~~~~~~~
dirwrap.c: At top level:
dirwrap.c:753:14: error: conflicting types for ‘delfiles’
 long DLLCALL delfiles(const char *inpath, const char *spec, size_t keep)
              ^~~~~~~~
In file included from dirwrap.c:85:0:
dirwrap.h:233:26: note: previous declaration of ‘delfiles’ was here
 DLLEXPORT ulong  DLLCALL delfiles(const char *inpath, const char *spec);
                          ^~~~~~~~
../build/Common.gmake:455: fallo en las instrucciones para el objetivo 'gcc.linux.x64.obj.debug-mt/dirwrap.o'
make[1]: *** [gcc.linux.x64.obj.debug-mt/dirwrap.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make[1]: se sale del directorio '/home/ragnarok/src/ftoledo/sbbs/git/src/xpdev'
../build/Common.gmake:487: fallo en las instrucciones para el objetivo 'xpdev-mt'
make: *** [xpdev-mt] Error 2
Creating gcc.linux.x64.lib.debug/libuifc_mt.a ...
make[1]: se sale del directorio '/home/ragnarok/src/ftoledo/sbbs/git/src/uifc'
make[1]: Entering directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
make libcl.a OBJPATH=./static-obj/ OSNAME=`uname` CFLAGS="-c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x85eedc31a09e00bc -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=native -mtune=generic -fPIC -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=4 -O3 -fomit-frame-pointer -D_REENTRANT" 
make[2]: Entering directory '/home/ragnarok/src/ftoledo/sbbs/git/3rdp/src/cl'
gcc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x85eedc31a09e00bc -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=native -mtune=generic -fPIC -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=4 -O3 -fomit-frame-pointer -D_REENTRANT -o ./static-obj/bn_asm.o bn/bn_asm.c
gcc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0x85eedc31a09e00bc -fPIC -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -march=native -mtune=generic -fPIC -Wno-pointer-sign -Wno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -fstack-protector-strong -D_FORTIFY_SOURCE=2 -DOSVERSION=4 -O3 -fomit-frame-pointer -D_REENTRANT -o ./static-obj/bn_exp.o bn/bn_exp.c

ragnarok@ragnarok:~/src/ftoledo/sbbs/git/src/syncterm$ make
make -C ../xpdev mtlib
make[1]: se entra en el directorio '/home/ragnarok/src/ftoledo/sbbs/git/src/xpdev'
Compiling dirwrap.c
dirwrap.c: In function ‘removecase’:
dirwrap.c:744:9: error: too many arguments to function ‘delfiles’
  return(delfiles(inpath,fname,0) >=1 ? 0 : -1);
         ^~~~~~~~
In file included from dirwrap.c:85:0:
dirwrap.h:233:26: note: declared here
 DLLEXPORT ulong  DLLCALL delfiles(const char *inpath, const char *spec);
                          ^~~~~~~~
dirwrap.c: At top level:
dirwrap.c:753:14: error: conflicting types for ‘delfiles’
 long DLLCALL delfiles(const char *inpath, const char *spec, size_t keep)
              ^~~~~~~~
In file included from dirwrap.c:85:0:
dirwrap.h:233:26: note: previous declaration of ‘delfiles’ was here
 DLLEXPORT ulong  DLLCALL delfiles(const char *inpath, const char *spec);
                          ^~~~~~~~
../build/Common.gmake:455: fallo en las instrucciones para el objetivo 'gcc.linux.x64.obj.debug-mt/dirwrap.o'
make[1]: *** [gcc.linux.x64.obj.debug-mt/dirwrap.o] Error 1
make[1]: se sale del directorio '/home/ragnarok/src/ftoledo/sbbs/git/src/xpdev'
../build/Common.gmake:487: fallo en las instrucciones para el objetivo 'xpdev-mt'
make: *** [xpdev-mt] Error 2
ragnarok@ragnarok:~/src/ftoledo/sbbs/git/src/syncterm$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant