mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Paul Schutte <sjpschutte@gmail.com>
To: musl@lists.openwall.com
Subject: stat.h
Date: Mon, 3 Mar 2014 20:36:24 +0200	[thread overview]
Message-ID: <CAKHv7pifZuHjfxXnBGHcQYZWOeuT2qgqB235V_EK+T-X2SZeSw@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-03-03 18:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 18:36 Paul Schutte [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKHv7pifZuHjfxXnBGHcQYZWOeuT2qgqB235V_EK+T-X2SZeSw@mail.gmail.com \
    --to=sjpschutte@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).