Re: Fireworks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

(I'm sorry for sending so long reply again...)

On Wed, 18 Nov 2020 15:35:59 +0900
Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx> wrote:

> Just now I pushed 'topic/buildable-in-kernel4.5-or-later' remote repository.
> https://github.com/alsa-project/alsa-gobject/tree/topic/buildable-in-kernel4.5-or-later
> 
> I added some conditional macros to build for Linux kernel 4.5 or later.
> I wish they works well in your environment.

Thank you very much for the help.
With the macro, the build itself seemed to complete:
(I updated the kernel of my system to 4.9 from 4.4 before the build.)

    root@darkstar:/tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build# meson test
    ninja: Entering directory `/tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build'
    [24/80] Compiling C object src/timer/l...alsatimer.so.0.1.0.p/user-instance.c.o
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_open’:
    ../src/timer/user-instance.c:170:14: warning: implicit declaration of function ‘strerror’ [-Wimplicit-function-declaration]
                 generate_syscall_error(error, errno, "open(%s)", devnode);
                  ^
    ../src/timer/user-instance.c:170:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c:179:105: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_choose_event_data_type’:
    ../src/timer/user-instance.c:255:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_attach’:
    ../src/timer/user-instance.c:291:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_attach_as_slave’:
    ../src/timer/user-instance.c:330:105: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_get_info’:
    ../src/timer/user-instance.c:364:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_set_params’:
    ../src/timer/user-instance.c:399:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_get_status’:
    ../src/timer/user-instance.c:434:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_start’:
    ../src/timer/user-instance.c:584:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_stop’:
    ../src/timer/user-instance.c:611:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_pause’:
    ../src/timer/user-instance.c:638:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    ../src/timer/user-instance.c: In function ‘alsatimer_user_instance_continue’:
    ../src/timer/user-instance.c:666:109: warning: format ‘%s’ expects argument of type ‘char *’, but argument 7 has type ‘int’ [-Wformat=]
    [49/80] Compiling C object src/seq/libalsaseq.so.0.1.0.p/event-data-queue.c.o
    ../src/seq/event-data-queue.c: In function ‘alsaseq_event_data_queue_set_quadlet_param’:
    ../src/seq/event-data-queue.c:184:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
         memcpy(self->param.d32, quadlets, sizeof(self->param.d32));
         ^
    ../src/seq/event-data-queue.c:184:5: warning: incompatible implicit declaration of built-in function ‘memcpy’
    ../src/seq/event-data-queue.c:184:5: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
    ../src/seq/event-data-queue.c: In function ‘alsaseq_event_data_queue_set_byte_param’:
    ../src/seq/event-data-queue.c:212:5: warning: incompatible implicit declaration of built-in function ‘memcpy’
         memcpy(self->param.d8, bytes, sizeof(self->param.d8));
         ^
    ../src/seq/event-data-queue.c:212:5: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
    [64/80] Compiling C object src/hwdep/libalsahwdep.so.0.1.0.p/query.c.o
    ../src/hwdep/query.c: In function ‘detect_dev’:
    ../src/hwdep/query.c:91:9: warning: implicit declaration of function ‘strstr’ [-Wimplicit-function-declaration]
         if (strstr(sysname, prefix) != sysname) {
             ^
    ../src/hwdep/query.c:91:9: warning: incompatible implicit declaration of built-in function ‘strstr’
    ../src/hwdep/query.c:91:9: note: include ‘<string.h>’ or provide a declaration of ‘strstr’
    ../src/hwdep/query.c: In function ‘alsahwdep_get_device_id_list’:
    ../src/hwdep/query.c:159:14: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
         length = strlen(PREFIX_SYSNAME_TEMPLATE) + calculate_digits(card_id) + 1;
                  ^
    ../src/hwdep/query.c:159:14: warning: incompatible implicit declaration of built-in function ‘strlen’
    ../src/hwdep/query.c:159:14: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    ../src/hwdep/query.c: In function ‘alsahwdep_get_hwdep_sysname’:
    ../src/hwdep/query.c:231:14: warning: incompatible implicit declaration of built-in function ‘strlen’
         length = strlen(HWDEP_SYSNAME_TEMPLATE) + calculate_digits(card_id) +
                  ^
    ../src/hwdep/query.c:231:14: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    ../src/hwdep/query.c: In function ‘alsahwdep_get_hwdep_devnode’:
    ../src/hwdep/query.c:279:14: warning: incompatible implicit declaration of built-in function ‘strlen’
         length = strlen(HWDEP_SYSNAME_TEMPLATE) + calculate_digits(card_id) +
                  ^
    ../src/hwdep/query.c:279:14: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    ../src/hwdep/query.c: In function ‘hwdep_perform_ctl_ioctl’:
    ../src/hwdep/query.c:320:14: warning: incompatible implicit declaration of built-in function ‘strlen’
         length = strlen(CTL_SYSNAME_TEMPLATE) + calculate_digits(card_id) + 1;
                  ^
    ../src/hwdep/query.c:320:14: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    [80/80] Generating ALSARawmidi-0.0.typelib with a custom command
     1/32 alsactl-enums                FAIL           0.17s (exit status 1)
     2/32 alsactl-card                 FAIL           0.22s (exit status 1)
     3/32 alsactl-card-info            FAIL           0.14s (exit status 1)
     4/32 alsactl-elem-info            FAIL           0.18s (exit status 1)
     5/32 alsactl-elem-value           FAIL           0.24s (exit status 1)
     6/32 alsatimer-enums              FAIL           0.13s (exit status 1)
     7/32 alsatimer-device-info        FAIL           0.16s (exit status 1)
     8/32 alsatimer-device-status      FAIL           0.21s (exit status 1)
     9/32 alsatimer-device-params      FAIL           0.19s (exit status 1)
    10/32 alsatimer-user-instance      FAIL           0.19s (exit status 1)
    11/32 alsatimer-instance-info      FAIL           0.19s (exit status 1)
    12/32 alsatimer-instance-params    FAIL           0.18s (exit status 1)
    13/32 alsatimer-instance-status    FAIL           0.18s (exit status 1)
    14/32 alsaseq-enums                FAIL           0.18s (exit status 1)
    15/32 alsaseq-system-info          FAIL           0.18s (exit status 1)
    16/32 alsaseq-client-info          FAIL           0.19s (exit status 1)
    17/32 alsaseq-user-client          FAIL           0.18s (exit status 1)
    18/32 alsaseq-port-info            FAIL           0.19s (exit status 1)
    19/32 alsaseq-client-pool          FAIL           0.18s (exit status 1)
    20/32 alsaseq-subscribe-data       FAIL           0.18s (exit status 1)
    21/32 alsaseq-queue-info           FAIL           0.13s (exit status 1)
    22/32 alsaseq-queue-status         FAIL           0.19s (exit status 1)
    23/32 alsaseq-queue-tempo          FAIL           0.13s (exit status 1)
    24/32 alsaseq-queue-timer          FAIL           0.15s (exit status 1)
    25/32 alsaseq-event-cntr           FAIL           0.15s (exit status 1)
    26/32 alsahwdep-enums              FAIL           0.16s (exit status 1)
    27/32 alsahwdep-device-info        FAIL           0.16s (exit status 1)
    28/32 alsarawmidi-enums            FAIL           0.14s (exit status 1)
    29/32 alsarawmidi-substream-info   FAIL           0.14s (exit status 1)
    30/32 alsarawmidi-stream-pair      FAIL           0.15s (exit status 1)
    31/32 alsarawmidi-substream-params FAIL           0.15s (exit status 1)
    32/32 alsarawmidi-substream-status FAIL           0.13s (exit status 1)

    Ok:                 0   
    Expected Fail:      0   
    Fail:               32  
    Unexpected Pass:    0   
    Skipped:            0   
    Timeout:            0   


So I tried to install, though there were many "FAIL":

    root@darkstar:/tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build# ninja
    ninja: no work to do.

    root@darkstar:/tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build# meson install
    ninja: Entering directory `.'
    ninja: no work to do.
    Installing src/ctl/alsactl-enums.h to /usr/local/include/alsa-gobject/ctl
    Installing src/ctl/alsactl-sigs-marshal.h to /usr/local/include/alsa-gobject/ctl
    Installing src/ctl/libalsactl.so.0.1.0 to /usr/local/lib64
    Installing src/ctl/ALSACtl-0.0.gir to /usr/local/share/gir-1.0
    Installing src/ctl/ALSACtl-0.0.typelib to /usr/local/lib64/girepository-1.0
    Installing src/timer/alsatimer-enums.h to /usr/local/include/alsa-gobject/timer
    Installing src/timer/libalsatimer.so.0.1.0 to /usr/local/lib64
    Installing src/timer/ALSATimer-0.0.gir to /usr/local/share/gir-1.0
    Installing src/timer/ALSATimer-0.0.typelib to /usr/local/lib64/girepository-1.0
    Installing src/seq/alsaseq-enums.h to /usr/local/include/alsa-gobject/seq
    Installing src/seq/libalsaseq.so.0.1.0 to /usr/local/lib64
    Installing src/seq/ALSASeq-0.0.gir to /usr/local/share/gir-1.0
    Installing src/seq/ALSASeq-0.0.typelib to /usr/local/lib64/girepository-1.0
    Installing src/hwdep/alsahwdep-enums.h to /usr/local/include/alsa-gobject/hwdep
    Installing src/hwdep/libalsahwdep.so.0.1.0 to /usr/local/lib64
    Installing src/hwdep/ALSAHwdep-0.0.gir to /usr/local/share/gir-1.0
    Installing src/hwdep/ALSAHwdep-0.0.typelib to /usr/local/lib64/girepository-1.0
    Installing src/rawmidi/alsarawmidi-enums.h to /usr/local/include/alsa-gobject/rawmidi
    Installing src/rawmidi/libalsarawmidi.so.0.1.0 to /usr/local/lib64
    Installing src/rawmidi/ALSARawmidi-0.0.gir to /usr/local/share/gir-1.0
    Installing src/rawmidi/ALSARawmidi-0.0.typelib to /usr/local/lib64/girepository-1.0
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/query.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/card.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/card-info.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/elem-id.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/elem-info.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/elem-value.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/ctl/alsactl-enum-types.h to /usr/local/include/alsa-gobject/ctl
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/query.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/device-id.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/device-info.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/device-status.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/device-params.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/user-instance.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/instance-info.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/instance-params.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/instance-status.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/event-data-tick.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/event-data-tstamp.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/event.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/timer/alsatimer-enum-types.h to /usr/local/include/alsa-gobject/timer
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/query.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/system-info.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/client-info.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/user-client.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/addr.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/port-info.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/client-pool.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/tstamp.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-data-result.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-data-note.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-data-ctl.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-data-queue.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-data-connect.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/subscribe-data.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/queue-info.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/queue-status.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/queue-tempo.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/queue-timer.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/queue-timer-data-alsa.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/remove-filter.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/event-cntr.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/seq/alsaseq-enum-types.h to /usr/local/include/alsa-gobject/seq
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/hwdep/query.h to /usr/local/include/alsa-gobject/hwdep
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/hwdep/device-info.h to /usr/local/include/alsa-gobject/hwdep
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/hwdep/alsahwdep-enum-types.h to /usr/local/include/alsa-gobject/hwdep
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/query.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/substream-info.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/stream-pair.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/substream-params.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/substream-status.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/src/rawmidi/alsarawmidi-enum-types.h to /usr/local/include/alsa-gobject/rawmidi
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build/meson-private/alsactl.pc to /usr/local/lib64/pkgconfig
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build/meson-private/alsatimer.pc to /usr/local/lib64/pkgconfig
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build/meson-private/alsaseq.pc to /usr/local/lib64/pkgconfig
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build/meson-private/alsahwdep.pc to /usr/local/lib64/pkgconfig
    Installing /tmp/alsa-gobject-topic-buildable-in-kernel4.5-or-later/build/meson-private/alsarawmidi.pc to /usr/local/lib64/pkgconfig


I cheked my system for some of these files or directories and actually could find them.
Can I assume that the installation was well done?
If so, I'd like to continue with the installation of libhinawa, another dependency of snd-firewire-ctl-services.

Regards,

Susie B.



_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux