Compile problems, please help!

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Compile problems, please help!

Postby woutert » Wed Nov 26, 2003 2:53 pm

Hi there,

I'm using grsec for a long time now, and i like it. But, hardware upgrades are coming, so is a new kernel. Of course with grsec. I tried to make the new gradm (1.9.12) with no luck :cry: See the compile errors (i add something to gradm.h. link: http://forums.grsecurity.net/viewtopic. ... ht=compile) But that's not working! Error messages:

Compile errors wrote:: warning: Using 'getprotobynumber' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gradm.tab.o(.text+0x169): In function `conv_name_to_type':
: warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gradm_parse.o(.text+0x3a5): In function `add_globbing_file':
: undefined reference to `MINOR'
gradm_parse.o(.text+0x3bf): In function `add_globbing_file':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0x3cb): In function `add_globbing_file':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0x4b3): In function `add_globbing_file':
: undefined reference to `MINOR'
gradm_parse.o(.text+0x4cd): In function `add_globbing_file':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0x4d9): In function `add_globbing_file':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0x6e0): In function `add_globbing_file':
: undefined reference to `MINOR'
gradm_parse.o(.text+0x6fa): In function `add_globbing_file':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0x706): In function `add_globbing_file':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0x7f1): In function `add_globbing_file':
: undefined reference to `MINOR'
gradm_parse.o(.text+0x80b): In function `add_globbing_file':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0x817): In function `add_globbing_file':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0x947): In function `display_all_dupes':
: undefined reference to `MINOR'
gradm_parse.o(.text+0x95b): In function `display_all_dupes':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0x967): In function `display_all_dupes':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0xaea): In function `add_proc_object_acl':
: undefined reference to `MINOR'
gradm_parse.o(.text+0xafe): In function `add_proc_object_acl':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0xb0a): In function `add_proc_object_acl':
: undefined reference to `MKDEV'
gradm_parse.o(.text+0xee5): In function `add_proc_subject_acl':
: undefined reference to `MINOR'
gradm_parse.o(.text+0xef9): In function `add_proc_subject_acl':
: undefined reference to `MAJOR'
gradm_parse.o(.text+0xf05): In function `add_proc_subject_acl':
: undefined reference to `MKDEV'
gradm_arg.o(.text+0x95): In function `conv_name_to_num':
: undefined reference to `MINOR'
gradm_arg.o(.text+0xa9): In function `conv_name_to_num':
: undefined reference to `MAJOR'
gradm_arg.o(.text+0xb5): In function `conv_name_to_num':
: undefined reference to `MKDEV'
collect2: ld returned 1 exit status
make: *** [gradm] Error 1
woutert
 
Posts: 7
Joined: Wed Nov 26, 2003 2:50 pm

Postby woutert » Mon Dec 01, 2003 5:38 pm

I could use some help :roll:
woutert
 
Posts: 7
Joined: Wed Nov 26, 2003 2:50 pm


Return to grsecurity support

cron