mailing list of musl libc
 help / color / mirror / code / Atom feed
* stat.h
@ 2014-03-03 18:36 Paul Schutte
  2014-03-03 19:42 ` stat.h Szabolcs Nagy
  2014-03-04  4:18 ` stat.h Rich Felker
  0 siblings, 2 replies; 9+ messages in thread
From: Paul Schutte @ 2014-03-03 18:36 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

Hi,

I am trying to compile pulseaudio5 against musl, but it fails with an error
indicating that struct stat64 is not defined:

utils/padsp.c:133:44: warning: 'struct stat64' declared inside parameter
list [enabled by default]
utils/padsp.c:133:44: warning: its scope is only this definition or
declaration, which is probably not what you want [enabled by default]

When I hack a bit and change the include in <sys/stat.h> from <bits/stat.h>
to <asm/stat.h>, it compiles that part, but fails some where else :

modules/module-augment-properties.c:187:15: error: 'struct stat' has no
member named 'st_mtim'
modules/module-augment-properties.c:198:18: error: 'struct stat' has no
member named 'st_mtim'
make[3]: ***
[modules/module_augment_properties_la-module-augment-properties.lo] Error 1


What is the correct way to fix this problem ?


Regards
Paul

[-- Attachment #2: Type: text/html, Size: 1095 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-04  5:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-03 18:36 stat.h Paul Schutte
2014-03-03 19:42 ` stat.h Szabolcs Nagy
2014-03-04  4:15   ` stat.h Paul Schutte
2014-03-04  4:20     ` stat.h Rich Felker
2014-03-04  5:18       ` stat.h Paul Schutte
2014-03-04  5:31         ` stat.h Rich Felker
2014-03-04  5:33           ` stat.h Paul Schutte
2014-03-04  4:18 ` stat.h Rich Felker
2014-03-04  4:31   ` stat.h Paul Schutte

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).