Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling question .dep/node.Tpo #214

Open
tho1 opened this issue Oct 14, 2022 · 0 comments
Open

compiling question .dep/node.Tpo #214

tho1 opened this issue Oct 14, 2022 · 0 comments

Comments

@tho1
Copy link

tho1 commented Oct 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant