Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 8 Sep 2021 22:14:59 +0800 (CST)
From: tugouxp <13824125580@....com>
To: musl@...ts.openwall.com
Subject: how to compile musl pass on X86_64 host?

Hi guys:
i meet a compile failure when compile the musl libc on PC X86_64,with command "make ARCH=X86_64"
so, how to make this ok?


thanks for your help, the folling is the compile error log.
thank you again!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

   .__st_ctim32.tv_nsec = stx.stx_ctime.tv_nsec,
    ^~~~~~~~~~~
    st_ctim
src/stat/fstatat.c:66:26: warning: excess elements in struct initializer
   .__st_ctim32.tv_nsec = stx.stx_ctime.tv_nsec,
                          ^~~
src/stat/fstatat.c:66:26: note: (near initialization for ‘(anonymous)’)
src/stat/fstatat.c: In function ‘fstatat_kstat’:
src/stat/fstatat.c:122:4: error: ‘struct stat’ has no member named ‘__st_atim32’; did you mean ‘st_atim’?
   .__st_atim32.tv_sec = kst.st_atime_sec,
    ^~~~~~~~~~~
    st_atim
src/stat/fstatat.c:123:4: error: ‘struct stat’ has no member named ‘__st_atim32’; did you mean ‘st_atim’?
   .__st_atim32.tv_nsec = kst.st_atime_nsec,
    ^~~~~~~~~~~
    st_atim
src/stat/fstatat.c:123:26: warning: excess elements in struct initializer
   .__st_atim32.tv_nsec = kst.st_atime_nsec,
                          ^~~
src/stat/fstatat.c:123:26: note: (near initialization for ‘(anonymous)’)
src/stat/fstatat.c:124:4: error: ‘struct stat’ has no member named ‘__st_mtim32’; did you mean ‘st_mtim’?
   .__st_mtim32.tv_sec = kst.st_mtime_sec,
    ^~~~~~~~~~~
    st_mtim
src/stat/fstatat.c:124:25: warning: excess elements in struct initializer
   .__st_mtim32.tv_sec = kst.st_mtime_sec,
                         ^~~
src/stat/fstatat.c:124:25: note: (near initialization for ‘(anonymous)’)
src/stat/fstatat.c:125:4: error: ‘struct stat’ has no member named ‘__st_mtim32’; did you mean ‘st_mtim’?
   .__st_mtim32.tv_nsec = kst.st_mtime_nsec,
    ^~~~~~~~~~~
    st_mtim
src/stat/fstatat.c:125:26: warning: excess elements in struct initializer
   .__st_mtim32.tv_nsec = kst.st_mtime_nsec,
                          ^~~
src/stat/fstatat.c:125:26: note: (near initialization for ‘(anonymous)’)
src/stat/fstatat.c:126:4: error: ‘struct stat’ has no member named ‘__st_ctim32’; did you mean ‘st_ctim’?
   .__st_ctim32.tv_sec = kst.st_ctime_sec,
    ^~~~~~~~~~~
    st_ctim
src/stat/fstatat.c:126:25: warning: excess elements in struct initializer
   .__st_ctim32.tv_sec = kst.st_ctime_sec,
                         ^~~
src/stat/fstatat.c:126:25: note: (near initialization for ‘(anonymous)’)
src/stat/fstatat.c:127:4: error: ‘struct stat’ has no member named ‘__st_ctim32’; did you mean ‘st_ctim’?
   .__st_ctim32.tv_nsec = kst.st_ctime_nsec,
    ^~~~~~~~~~~
    st_ctim
src/stat/fstatat.c:127:26: warning: excess elements in struct initializer
   .__st_ctim32.tv_nsec = kst.st_ctime_nsec,


Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.