Bugs item #1861551, was opened at 2007-12-31 14:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1861551&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver 1.3.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bob Atkins (bobatkins)
Assigned to: Nobody/Anonymous (nobody)
Summary: mi_datagram fails to compile on Solaris 2.8/gcc 4.1.1

Initial Comment:
I suspect a missing include file but I haven't figured out where (or if) 
AF_LOCAL is declared and in what include file...

Compiling datagram_fnc.c
gcc -fPIC -DPIC  -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc 
-mtune=ultrasparc -ftree-vectorize -m64 -mcpu=ultrasparc -I/opt/include 
-I/opt/include/mysql -DMOD_NAME='"mi_datagram"'    -DNAME='"openser"' 
-DVERSION='"1.3.0-tls"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"gcc 
4.1.1"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no 
-DCFG_DIR='"/opt/openser-1.3.0-tls/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  
-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC  -DUSE_TLS -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME 
-DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION 
-D_POSIX_PTHREAD_SEMANTICS -DHAVE_DEVPOLL -DHAVE_SELECT -I/opt/ssl/include 
-I/opt/include -c datagram_fnc.c -o datagram_fnc.o

datagram_fnc.c: In function 'mi_init_datagram_server':
datagram_fnc.c:103: error: 'AF_LOCAL' undeclared (first use in this function)
datagram_fnc.c:103: error: (Each undeclared identifier is reported only once
datagram_fnc.c:103: error: for each function it appears in.)
datagram_fnc.c: In function 'datagram_close_async':
datagram_fnc.c:326: error: 'AF_LOCAL' undeclared (first use in this function)
datagram_fnc.c: In function 'build_async_handler':
datagram_fnc.c:404: error: 'AF_LOCAL' undeclared (first use in this function)
make[1]: *** [datagram_fnc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 
`/db/src/openser/openser-1.3.0-tls_64bit/modules/mi_datagram'
make: *** [modules] Error 2


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1861551&group_id=139143

_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to