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

New package: gllock-09102019 #25454

Closed
wants to merge 1 commit into from
Closed

New package: gllock-09102019 #25454

wants to merge 1 commit into from

Conversation

RoundDuckKira
Copy link
Contributor

This is a locking program based on slock that has opengl-based lock screens for flashiness. https://github.com/kuravih/gllock/

@RoundDuckKira
Copy link
Contributor Author

uh oh

2020-10-09-082720_785x98_scrot

@RoundDuckKira
Copy link
Contributor Author

RoundDuckKira commented Oct 9, 2020

Old problem fixed, here's the new problem:

/usr/bin/ld: common.c:(.text+0x810): undefined reference to `__glewGenBuffers' /usr/bin/ld: common.c:(.text+0x81f): undefined reference to `__glewBindBuffer' /usr/bin/ld: common.c:(.text+0x83b): undefined reference to `__glewBufferData' /usr/bin/ld: common.c:(.text+0x84a): undefined reference to `__glewBindBuffer' /usr/bin/ld: common.c:(.text+0x8ad): undefined reference to `glGenTextures' /usr/bin/ld: common.c:(.text+0x8be): undefined reference to `glBindTexture' /usr/bin/ld: common.c:(.text+0x8d5): undefined reference to `glTexParameterf' /usr/bin/ld: common.c:(.text+0x8ec): undefined reference to `glTexParameterf' /usr/bin/ld: common.c:(.text+0x91e): undefined reference to `glTexImage2D' /usr/bin/ld: common.c:(.text+0x939): undefined reference to `__glewGetUniformLocation' /usr/bin/ld: common.c:(.text+0x94c): undefined reference to `__glewGetUniformLocation' /usr/bin/ld: common.c:(.text+0x969): undefined reference to `__glewVertexAttribPointer' /usr/bin/ld: common.c:(.text+0x973): undefined reference to `glClear' /usr/bin/ld: common.o: in function `animate': common.c:(.text+0x9e7): undefined reference to `__glewUniform1f' /usr/bin/ld: common.c:(.text+0xa0f): undefined reference to `__glewUniform1f' /usr/bin/ld: common.c:(.text+0xa1a): undefined reference to `glXSwapBuffers' /usr/bin/ld: common.c:(.text+0xa22): undefined reference to `__glewEnableVertexAttribArray' /usr/bin/ld: common.c:(.text+0xa33): undefined reference to `glDrawArrays' /usr/bin/ld: common.c:(.text+0xa3b): undefined reference to `__glewDisableVertexAttribArray' /usr/bin/ld: common.c:(.text+0xa8a): undefined reference to `__glewUniform1f' collect2: error: ld returned 1 exit status make: *** [Makefile:25: gllock] Error 1 => ERROR: gllock-09102019_1: do_build: 'make CC=$CC INCS="-I." LIBS="-lX11 -lXext -lcrypt -lXrandr" ${makejobs}' exited with 2 => ERROR: in do_build() at srcpkgs/gllock/template:20

@pullmoll
Copy link
Member

pullmoll commented Oct 9, 2020

Take a look at https://github.com/kuravih/gllock/blob/master/config.mk to see what your LIBS=… is missing.

@ericonr
Copy link
Member

ericonr commented Oct 9, 2020

I think this one should have make_use_env=yes instead of manually listing the LIBS.

@RoundDuckKira
Copy link
Contributor Author

ah @ericonr I'll try that

@RoundDuckKira
Copy link
Contributor Author

2020-10-09-092701_886x383_scrot

@RoundDuckKira
Copy link
Contributor Author

still same error

@RoundDuckKira
Copy link
Contributor Author

despite make_use_env

@RoundDuckKira
Copy link
Contributor Author

/usr/bin/ld: /lib64/libX11.so.6: error adding symbols: DSO missing from command line

@RoundDuckKira
Copy link
Contributor Author

RoundDuckKira commented Oct 9, 2020

pushed a new version to review because I need help lol

@RoundDuckKira
Copy link
Contributor Author

@pullmoll I tried following your advice about the LIBS stuff and it didn't work ooof

@RoundDuckKira
Copy link
Contributor Author

@ericonr @pullmoll the newest code shows what I tried to do and well that I'm having trouble with, with the new LIBS and make_use_env and it still failing as I said before

Sorry for being a bit annoying here btw

@Chocimier
Copy link
Member

make_use_env does nothing if you define own do_ functions. Use gnu-makefile, and maybe define make_build_args additionally.

Is this package so good it don't need tag?

@ericonr ericonr added the new-package This PR adds a new package label Dec 20, 2020
@abenson abenson closed this Nov 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants