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

Compilation error RHEL8: "You seem to have the current working directory in your PATH environment variable. This doesn't work." #64

Open
alexisfrjp opened this issue Oct 28, 2024 · 0 comments

Comments

@alexisfrjp
Copy link

I got a strange compilation error on rhel 8.

+ cd ..
+ echo Making the 64bit PBA Linux system
Making the 64bit PBA Linux system
+ make -j12 O=64bit
+ tee 64bit/build_output.txt
/usr/bin/make -j1 O=/home/alexis/git/sedutil/images/scratch/buildroot/64bit HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
mkdir -p /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" /usr/bin/make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/conf.o
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config -DCONFIG_=\"\"  -I. -c /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/zconf.tab.c -o /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config -DCONFIG_=\"\"   /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/conf.o /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/zconf.tab.o  -o /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/conf
rm /home/alexis/git/sedutil/images/scratch/buildroot/64bit/build/buildroot-config/zconf.tab.c
  GEN     /home/alexis/git/sedutil/images/scratch/buildroot/64bit/Makefile

You seem to have the current working directory in your
PATH environment variable. This doesn't work.
make[1]: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
make: *** [Makefile:84: _all] Error 2
+ echo Making the 32bit PBA Linux system
Making the 32bit PBA Linux system
+ make -j12 O=32bit
+ tee 32bit/build_output.txt
/usr/bin/make -j1 O=/home/alexis/git/sedutil/images/scratch/buildroot/32bit HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
make[2]: warning: -j1 forced in submake: resetting jobserver mode.
mkdir -p /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/lxdialog
PKG_CONFIG_PATH="" /usr/bin/make CC="/usr/bin/gcc" HOSTCC="/usr/bin/gcc" \
    obj=/home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config -C support/kconfig -f Makefile.br conf
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config -DCONFIG_=\"\"  -MM *.c > /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/.depend 2>/dev/null || :
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config -DCONFIG_=\"\"   -c conf.c -o /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/conf.o
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config -DCONFIG_=\"\"  -I. -c /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/zconf.tab.c -o /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/zconf.tab.o
/usr/bin/gcc -DCURSES_LOC="<curses.h>" -DLOCALE  -I/home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config -DCONFIG_=\"\"   /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/conf.o /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/zconf.tab.o  -o /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/conf
rm /home/alexis/git/sedutil/images/scratch/buildroot/32bit/build/buildroot-config/zconf.tab.c
  GEN     /home/alexis/git/sedutil/images/scratch/buildroot/32bit/Makefile

You seem to have the current working directory in your
PATH environment variable. This doesn't work.
make[1]: *** [support/dependencies/dependencies.mk:27: dependencies] Error 1
make: *** [Makefile:84: _all] Error 2
+ cd ../..
+ exit 0
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