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 errors in OpenBSD 7.4 #16

Open
ffuentese opened this issue Dec 12, 2024 · 4 comments
Open

Compiling errors in OpenBSD 7.4 #16

ffuentese opened this issue Dec 12, 2024 · 4 comments

Comments

@ffuentese
Copy link

Hi, I wanna try this client on OpenBSD 7.4 and installed ini.h and the curl libraries. This is the gmake output:

Package inih was not found in the pkg-config search path
cc .build/commands.o .build/config.o .build/list.o .build/network.o .build/quickstart.o .build/rfc3339.o .build/tweet.o .build/twtwt.o .build/utils.o -o twtwt
commands.c(.build/commands.o:(command_config)): warning: sprintf() is often misused, please use snprintf()
quickstart.c(.build/quickstart.o:(get_twtfile)): warning: strcat() is almost always misused, please use strlcat()
tweet.c(.build/tweet.o:(mentions_shrink)): warning: strcpy() is almost always misused, please use strlcpy()
ld: error: undefined symbol: ini_parse
>>> referenced by config.c
>>>               .build/config.o:(config_load)

ld: error: undefined symbol: curl_global_init
>>> referenced by network.c
>>>               .build/network.o:(fetch_user_tweets)
>>> referenced by network.c
>>>               .build/network.o:(fetch_timeline_tweets)

ld: error: undefined symbol: curl_easy_perform
>>> referenced by network.c
>>>               .build/network.o:(fetch_user_tweets)

ld: error: undefined symbol: curl_easy_cleanup
>>> referenced by network.c
>>>               .build/network.o:(fetch_user_tweets)
>>> referenced by network.c
>>>               .build/network.o:(fetch_timeline_tweets)

ld: error: undefined symbol: curl_global_cleanup
>>> referenced by network.c
>>>               .build/network.o:(fetch_user_tweets)
>>> referenced by network.c
>>>               .build/network.o:(fetch_timeline_tweets)

ld: error: undefined symbol: curl_easy_init
>>> referenced by network.c
>>>               .build/network.o:(get_handle_from_content)

ld: error: undefined symbol: curl_easy_setopt
>>> referenced by network.c
>>>               .build/network.o:(get_handle_from_content)

@win0err
Copy link
Owner

win0err commented Dec 13, 2024

Hi! Thanks for your interest. I tested compiling on FreeBSD only. I'll check on OpenBSD and respond to you a bit later

@ffuentese
Copy link
Author

Working on OpenBSD 7.5 and above installing libinih as dependency

@win0err
Copy link
Owner

win0err commented Jan 26, 2025

Working on OpenBSD 7.5 and above installing libinih as dependency

Great! Can I close the issue?

@ffuentese
Copy link
Author

That's ok for me

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

2 participants