Skip to content

compiling question .dep/node.Tpo #214

@tho1

Description

@tho1

Hi,

I am trying to build the libplist library, and it emits the error

make  all-recursive
make[1]: Entering directory '/aufs/devsave/work/libplist'
Making all in libcnary
make[2]: Entering directory '/aufs/devsave/work/libplist/libcnary'
  CC       node.lo
../libtool: line 3375: node.c: command not found
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[2]: *** [Makefile:412: node.lo] Error 1
make[2]: Leaving directory '/aufs/devsave/work/libplist/libcnary'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/aufs/devsave/work/libplist'
make: *** [Makefile:366: all] Error 2

Modified the libcnary/makefile to turn on tracing for libtool line 228 to help debugging.

LIBTOOL = ${SHELL} $(top_builddir)/libtool -v --debug 

Rerun make and got the following

++ command+=' -o .libs/node.o'
+ func_show_eval_locale ' gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -pthread -I../libcnary/include -g -O2 -MT node.lo -MD -MP -MF .deps/node.Tpo -c ""  -fPIC -DPIC -o .libs/node.o' 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+ set -x
+ _G_cmd=' gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -pthread -I../libcnary/include -g -O2 -MT node.lo -MD -MP -MF .deps/node.Tpo -c ""  -fPIC -DPIC -o .libs/node.o'
+ _G_fail_exp='test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
+ :
+ false
+ eval 'LANG=$save_LANG; 
	     gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -pthread -I../libcnary/include -g -O2 -MT node.lo -MD -MP -MF .deps/node.Tpo -c ""  -fPIC -DPIC -o .libs/node.o'
++ LANG=en_US.UTF-8
++ gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Wno-strict-aliasing -fvisibility=hidden -pthread -I../libcnary/include -g -O2 -MT node.lo -MD -MP -MF .deps/node.Tpo -c '' -fPIC -DPIC -o .libs/node.o
gcc: error: : No such file or directory
gcc: fatal error: no input files
compilation terminated.
+ _G_status=1
+ eval 'LANG=C; '
++ LANG=C
+ test 0 -ne 1
+ eval '(exit 1); test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
++ exit 1
++ test -n ''
++ exit 1
make[2]: *** [Makefile:412: node.lo] Error 1
make[2]: Leaving directory '/aufs/devsave/work/libplist/libcnary'
make[1]: *** [Makefile:436: all-recursive] Error 1
make[1]: Leaving directory '/aufs/devsave/work/libplist'
make: *** [Makefile:366: all] Error 2

Checked the directories

# ls -l ./libcnary/.libs
total 0
# ls -l ./libcnary/.deps
total 8
-rw-r--r-- 1 root root 8 Oct 14 00:40 node_list.Plo
-rw-r--r-- 1 root root 8 Oct 14 00:40 node.Plo

Did I miss a step to compile node.Tpo? Thanks in advance.

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