aesgcm does not compile on cygwin #372

Closed
opened 2018-03-28 01:10:35 -05:00 by karel-m · 0 comments
karel-m commented 2018-03-28 01:10:35 -05:00 (Migrated from github.com)
$ make CFLAGS="-Werror -DUSE_LTM -DLTM_DESC -I../libtommath" EXTRALIBS=../libtommath/libtommath.a all
   * [...]
   * gcc demos/aesgcm.o
demos/aesgcm.c: In function ‘mv’:
demos/aesgcm.c:49:4: error: implicit declaration of function ‘syncfs’ [-Werror=implicit-function-declaration]
    syncfs(fd);
    ^~~~~~
cc1: all warnings being treated as errors
make: *** [makefile:49: demos/aesgcm.o] Error 1

I did not find a way how to use syncfs() from cygwin

``` $ make CFLAGS="-Werror -DUSE_LTM -DLTM_DESC -I../libtommath" EXTRALIBS=../libtommath/libtommath.a all * [...] * gcc demos/aesgcm.o demos/aesgcm.c: In function ‘mv’: demos/aesgcm.c:49:4: error: implicit declaration of function ‘syncfs’ [-Werror=implicit-function-declaration] syncfs(fd); ^~~~~~ cc1: all warnings being treated as errors make: *** [makefile:49: demos/aesgcm.o] Error 1 ``` I did not find a way how to use `syncfs()` from cygwin
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libtom/libtomcrypt#372
No description provided.