I have a problem building mod_ngobjweb with make.
I got "make: no: Command not found" (see below).
How can i fix that ???
G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make
clean
rm -f *.o mod_ngobjweb.so *.so *~
G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make
make: no: Command not found
gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX -
DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
-DHARD_SERVER_LIMIT=2048 -
DEAPI -I/usr/include/httpd -I -c -o globals.o globals.c
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
make: *** [globals.o] Error 1
Well, let add the required main() to see other compile
problems...
G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ more
globals.c
/*
Copyright (C) 2000-2005 SKYRIX Software AG
This file is part of SOPE.
SOPE is free software; you can redistribute it and/or
modify it under
the terms of the GNU Lesser General Public License as
published by
the
Free Software Foundation; either version 2, or (at your
option) any
later version.
SOPE is distributed in the hope that it will be useful,
but
WITHOUT ANY
WARRANTY; without even the implied warranty of
MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
General Public
License for more details.
You should have received a copy of the GNU Lesser General
Public
License along with SOPE; see the file COPYING. If not,
write to the
Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA
02111-1307, USA.
*/
#include <sys/types.h>
#include <sys/socket.h>
int HEAVY_LOG = 0;
//struct sockaddr *sns = 0;
int main()
{
return 0;
}
Build again...
G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make
make: no: Command not found
gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX -
DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
-DHARD_SERVER_LIMIT=2048 -
DEAPI -I/usr/include/httpd -I -c -o globals.o globals.c
make: no: Command not found
gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX -
DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe
-DHARD_SERVER_LIMIT=2048 -
DEAPI -I/usr/include/httpd -I -c -o handler.o handler.c
In file included from /usr/include/httpd/ap_config.h:1129,
from /usr/include/httpd/httpd.h:29,
from common.h:37,
from handler.c:22:
/usr/include/httpd/hsregex.h:22:1: warning:
"ap_private_extern"
redefined
In file included from /usr/include/httpd/httpd.h:29,
from common.h:37,
from handler.c:22:
/usr/include/httpd/ap_config.h:1025:1: warning: this is the
location
of the previous definition
/usr/bin/ld: Undefined symbols:
_main
_HEAVY_LOG
_NGBufferedDescriptor_flush
_NGBufferedDescriptor_free
_NGBufferedDescriptor_newWithOwnedDescriptorAndSize
_NGBufferedDescriptor_read
_NGBufferedDescriptor_safeRead
_NGBufferedDescriptor_safeWrite
_NGBufferedDescriptor_writeHttpHeader
_NGScanHeaders
_NGScanResponseLine
__sendSNSQuery
_ap_bread
_ap_ctx_get
_ap_log_error
_ap_palloc
_ap_pcalloc
_ap_rflush
_ap_rwrite
_ap_send_http_header
_ap_table_get
_ap_table_set
collect2: ld returned 1 exit status
make: *** [handler.o] Error 1
--
OpenGroupware.org MacOS X
macosx opengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx
|