LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mod FastCGI - Error 1 during make (https://www.linuxquestions.org/questions/linux-software-2/mod-fastcgi-error-1-during-make-434111/)

nutnut 04-11-2006 11:01 AM

Mod FastCGI - Error 1 during make
 
Hi,

Check out this output:

Code:

[root@ethereal mod_fastcgi-2.4.2]# make
/usr/local/apache2/build/libtool --silent --mode=compile gcc -g -O2 -pthread    -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I/usr/local/apache2/include -I. -I/httpd-2.2.0/srclib/apr/include -I/httpd-2.2.0/srclib/apr-util/include -prefer-pic -c mod_fastcgi.c && touch mod_fastcgi.slo
mod_fastcgi.c: In function 'init_module':
mod_fastcgi.c:270: error: 'ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c:270: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:270: error: for each function it appears in.)
mod_fastcgi.c: In function 'process_headers':
mod_fastcgi.c:725: warning: return makes pointer from integer without a cast
mod_fastcgi.c:729: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:739: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:768: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c:838: warning: return makes pointer from integer without a cast
mod_fastcgi.c:842: warning: return makes pointer from integer without a cast
mod_fastcgi.c: In function 'set_uid_n_gid':
mod_fastcgi.c:1022: warning: passing argument 1 of 'memcpy' makes pointer from integer without a cast
mod_fastcgi.c:1024: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1033: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:1034: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function 'do_work':
mod_fastcgi.c:2321: error: 'ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c: In function 'create_fcgi_request':
mod_fastcgi.c:2479: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2492: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c: In function 'apache_is_scriptaliased':
mod_fastcgi.c:2534: warning: initialization makes pointer from integer without a cast
mod_fastcgi.c: In function 'post_process_for_redirects':
mod_fastcgi.c:2559: warning: passing argument 1 of 'ap_internal_redirect_handler' makes pointer from integer without a cast
mod_fastcgi.c: In function 'check_user_authentication':
mod_fastcgi.c:2682: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2700: warning: comparison between pointer and integer
mod_fastcgi.c: In function 'check_user_authorization':
mod_fastcgi.c:2749: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2765: warning: comparison between pointer and integer
mod_fastcgi.c: In function 'check_access':
mod_fastcgi.c:2809: warning: assignment makes pointer from integer without a cast
mod_fastcgi.c:2826: warning: comparison between pointer and integer
make: *** [mod_fastcgi.slo] Error 1

Apache 2 is installed (/usr/local/apache2).

Any advice would be greatly appreciated.

Kind regards,
James

nutnut 04-11-2006 12:42 PM

...
 
Hi,

I also appear to be receiving the same error when compiling some other software.

Thanks,
James

Alien_Hominid 04-11-2006 03:11 PM

Check your binutils and glibc packages.

nutnut 04-11-2006 03:38 PM

...
 
Hi,

Could you expand on that for me please - not quite sure what you mean ;P?

Thanks in advance,
James


All times are GMT -5. The time now is 03:39 PM.