Fix linking errors in wssshc build

- Add missing object files to wssshc target in configure.sh
- Include libwsssht/control_messages.o and libwsssht/data_messages.o in wssshc linking
- Resolve undefined reference errors for:
  - send_registration_message
  - send_ping_frame
  - send_pong_frame
  - send_tunnel_data_message
  - send_tunnel_response_message
- Update configure.sh to generate correct Makefile with all required dependencies
- Ensure wssshc builds successfully with all message functions available

This fixes the ld linker errors that were preventing wssshc from building properly.
parent f7f3f417
...@@ -69,7 +69,7 @@ MANPAGES = man/wssshc.1 man/wsssht.1 man/wsssh.1 man/wsscp.1 ...@@ -69,7 +69,7 @@ MANPAGES = man/wssshc.1 man/wsssht.1 man/wsssh.1 man/wsscp.1
all: $(TARGETS) all: $(TARGETS)
# Individual targets # Individual targets
wssshc: wssshc.o libwsssht/wssshlib.o libwsssht/websocket.o libwsssht/wssh_ssl.o libwsssht/tunnel.o wssshc: wssshc.o libwsssht/wssshlib.o libwsssht/websocket.o libwsssht/wssh_ssl.o libwsssht/tunnel.o libwsssht/control_messages.o libwsssht/data_messages.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
wsssht: wsssht.o $(LIB_OBJS) wsssht: wsssht.o $(LIB_OBJS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment