Skip to content

Compilation error!!!! #36

Description

@techkals

Hi,
am getting the following error while running "autoreconf -i -f".

Then, included the below changes... the reported errors are not seen.. but, want to check whether this is a correct fix or not ?

Can someone please comment...

Code added:

Added the below changed in all required files of Makefile.am...

AUTOMAKE_OPTIONS = subdir-objects

Error Log:

netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_save.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_show.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_tab.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_timer.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_alias.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_uservars.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_wordexp.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/Makefile.am:3: warning: source file '$(top_srcdir)/netconf/src/yangcli/yangcli_globals.c' is in a subdirectory,
netconf/src/yangrpc/Makefile.am:3: but option 'subdir-objects' is disabled
netconf/src/yangrpc/example/Makefile.am:2: warning: source file '$(top_srcdir)/netconf/src/yangrpc/example/yangrpc-example.c' is in a subdirectory,
netconf/src/yangrpc/example/Makefile.am:2: but option 'subdir-objects' is disabled
netconf/src/yangrpc/example/Makefile.am:9: warning: source file '$(top_srcdir)/netconf/src/yangrpc/example/yangrpc-parse-example.c' is in a subdirectory,
netconf/src/yangrpc/example/Makefile.am:9: but option 'subdir-objects' is disabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions