-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
build breaks at libcap #4
Comments
Do you have installed gperf?
…On Sun, Apr 8, 2018, 1:19 PM mrgreenlinux ***@***.***> wrote:
cc -Wl,-x -shared
-L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap
-o pam_cap.so pam_cap.o -L../libcap -lcap make testcompile make[2]:
Entering directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap' gcc -O2
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g
-L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap
-o testcompile test.c pam_cap.o -lpam -ldl -L../libcap -lcap /bin/ld:
warning: libc.so, needed by
/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap/libcap.so,
not found (try using -rpath or -rpath-link) /bin/ld: testcompile: hidden
symbollstat' in /usr/lib/libc_nonshared.a(lstat.oS) is referenced by DSO
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:26: testcompile] Error 1
make[2]: Leaving directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make[1]: *** [Makefile:13: all] Error 2
make[1]: Leaving directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make: *** [Makefile:13: install] Error 2
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZS_I7ACOMv99YSvqKfhBIGjA2N6hMuwks5tmeRBgaJpZM4TLe2M>
.
|
No! loading now, thanks ;-) |
make[1]: Entering directory '/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap' |
Idk I use the most newer version of Debian
…On Sun, Apr 8, 2018, 3:41 PM mrgreenlinux ***@***.***> wrote:
make[1]: Entering directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
gcc -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall
-Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow
-g -fPIC
-I/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap/include/uapi
-I/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap/include
-c pam_cap.c -o pam_cap.o
pam_cap.c: In function 'parse_args':
pam_cap.c:213:9: warning: variable 'ctrl' set but not used
[-Wunused-but-set-variable]
int ctrl=0;
^~~~
gcc -Wl,-x -shared
-L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap
-o pam_cap.so pam_cap.o -L../libcap -lcap
make testcompile
make[2]: Entering directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
gcc -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall
-Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow
-g
-L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap
-o testcompile test.c pam_cap.o -lpam -ldl -L../libcap -lcap
/bin/ld: warning: libc.so, needed by
/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap/libcap.so,
not found (try using -rpath or -rpath-link)
/bin/ld: testcompile: hidden symbol `lstat' in
/usr/lib/libc_nonshared.a(lstat.oS) is referenced by DSO
/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:26: testcompile] Error 1
make[2]: Leaving directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make[1]: *** [Makefile:13: all] Error 2
make[1]: Leaving directory
'/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make: *** [Makefile:13: install] Error 2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AZS_I3PdBaovHFQ0Az6Par7h0jRzHoJEks5tmgWPgaJpZM4TLe2M>
.
|
If I get time I will try under debian, meantime I can test out boot.iso |
Loaded Lubuntu and build broke when trying to make busybox, guess I will just test iso instead. |
Meh, I'm going to rewrite build system(again) but on Makefile
…On Sun, Apr 8, 2018, 7:10 PM mrgreenlinux ***@***.***> wrote:
Loaded Lubuntu and build broke when trying to make busybox, guess I will
just test iso instead.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AZS_I_j0GqzocRTPx6PA7DoTzU3_-5gJks5tmjZygaJpZM4TLe2M>
.
|
Many distros no longer use mdev (hotplug) in there kernels. Would love to take stock archlinux kernel and add in say minirc. Been looking at docker images and some that are Arch based are tiny. Of course Alpine would be even smaller but I cannot always make it work the way I need...... Why not go the minimal linux way and just have kernel and busybox then build on that? |
My Linux distribution is more advanced |
You can try "pacman" branch. There is fixed ARM compilation and more! But you need use custom kernel. |
new builder without useless stuff |
cc -Wl,-x -shared -L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap -o pam_cap.so pam_cap.o -L../libcap -lcap make testcompile make[2]: Entering directory '/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap' gcc -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Dlinux -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g -L/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap -o testcompile test.c pam_cap.o -lpam -ldl -L../libcap -lcap /bin/ld: warning: libc.so, needed by /home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap/../libcap/libcap.so, not found (try using -rpath or -rpath-link) /bin/ld: testcompile: hidden symbol
lstat' in /usr/lib/libc_nonshared.a(lstat.oS) is referenced by DSO/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:26: testcompile] Error 1
make[2]: Leaving directory '/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make[1]: *** [Makefile:13: all] Error 2
make[1]: Leaving directory '/home/mrgreen/Downloads/janus/build/sources/libcap-2.25/pam_cap'
make: *** [Makefile:13: install] Error 2
`
The text was updated successfully, but these errors were encountered: