Giter Site home page Giter Site logo

Comments (4)

Kearlock avatar Kearlock commented on August 28, 2024 1

Got the same issue.
"apt-get install pkg-config" works fine for me.

from mac-telnet.

Applepi avatar Applepi commented on August 28, 2024

New version uses autoconf later than what is in apt repo...

from mac-telnet.

t3hk4t avatar t3hk4t commented on August 28, 2024

If anyone wants to get rid of autogen, here is sample makefile I use. c files must be in src folder, h files in include. Then just do make

CC = gcc
OPTIMIZE = no
MAKE_CXX_VERSION = gnu99
TARGET = mac_telnet
.PHONY: $(TARGET)

CXXFLAGS = -Wall -std=$(MAKE_CXX_VERSION) -DLOCALEDIR='"/usr/local/share/locale"'

ifeq ($(OPTIMIZE),no)
	CXXFLAGS += -g -fpermissive
else 
	CXXFLAGS += -Ofast
endif

CXXFLAGS += \
	-I./include

LIBS = \
	-lssl \
	-lcrypto 


all: $(TARGET)

$(TARGET): autologin.o console.o interfaces.o mactelnet.o protocol.o mndp.o mtwei.o
	$(CC) $(CXXFLAGS) -o $(TARGET) autologin.o console.o interfaces.o mactelnet.o protocol.o mndp.o mtwei.o -L/usr/lib $(LIBS)

autologin.o: 
	$(CC) $(CXXFLAGS) -c src/autologin.c

console.o: 
	$(CC) $(CXXFLAGS) -c src/console.c

interfaces.o: 
	$(CC) $(CXXFLAGS) -c src/interfaces.c

macping.o: 
	$(CC) $(CXXFLAGS) -c src/macping.c

mactelnet.o: 
	$(CC) $(CXXFLAGS) -c src/mactelnet.c

protocol.o: 
	$(CC) $(CXXFLAGS) -c src/protocol.c

mndp.o: 
	$(CC) $(CXXFLAGS) -c src/mndp.c

mtwei.o: 
	$(CC) $(CXXFLAGS) -c src/mtwei.c

users.o: 
	$(CC) $(CXXFLAGS) -c src/users.c

clean: 
	$(RM) $(TARGET) autologin.o console.o interfaces.o mactelnet.o protocol.o mndp.o mtwei.o

from mac-telnet.

haakonnessjoen avatar haakonnessjoen commented on August 28, 2024

This should now work as expected.

from mac-telnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.