-
Notifications
You must be signed in to change notification settings - Fork 153
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
programs are not linked on openbsd #45
Comments
ls -al ether |
it seems that GNU make and BSD make require different Makefiles... programs are not automatically linked by BSD make... |
Ok, the simplest solution is to use gmake. |
make compiles .o and generate libraries, but programs are not linked. it seems a Makefile issue.
uname -a
OpenBSD devbsd.my.domain 5.7 GENERIC#738 i386
make install
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efbu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/getoptv.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/error.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexencode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/uintspec.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexdump.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c openchannel.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c sendpacket.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c readpacket.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/basespec.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efeu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/memswap.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efru.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c efsu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexload.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c edru.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexdecode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/hexstring.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c edsu.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/efreopen.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c nics.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/decdecode.c
gcc -Wall -Wextra -Wno-unused-parameter -DMAKEFILE -D__GETOPT_H__ -D_GETOPT_DEFINED_ -c ../tools/decstring.c
install -m 0755 -o 0 -g 0 -d /usr/local/bin
install -m 4555 -o 0 -g 0 efbu efeu efru efsu edru edsu nics /usr/local/bin
install: efbu: No such file or directory
*** Error 71 in ether (Makefile:36 'install')
*** Error 1 in /root/open-plc-utils-master (Makefile:29 'install')
The text was updated successfully, but these errors were encountered: