[torquedev] Build 5016 Not Building

Ken Nielson knielson at adaptivecomputing.com
Wed Aug 31 10:49:18 MDT 2011


----- Original Message -----
> From: "Donald Neal" <dmneal at wand.net.nz>
> To: "Torque Developers mailing list" <torquedev at supercluster.org>
> Sent: Tuesday, August 30, 2011 5:17:47 PM
> Subject: [torquedev] Build 5016 Not Building
> 
> I'm finding build 5016 not building on Debian stable using gcc 4.4.5.
> 
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include
> -I../../../src/include -I../../../src/lib/Libdis
> -DIFF_PATH=\"/usr/local/sbin/pbs_iff\"
> -DPBS_DEFAULT_FILE=\"/var/spool/torque/server_name\" -g -O2
> -D_LARGEFILE64_SOURCE -MT conn_table.lo -MD -MP -MF
> .deps/conn_table.Tpo
> -c ../Libnet/conn_table.c -fPIC -DPIC -o .libs/conn_table.o
> ../Libnet/conn_table.c: In function ‘get_connection_entry’:
> ../Libnet/conn_table.c:22: error: ‘PTHREAD_MUTEX_ERRORCHECK’
> undeclared
> (first use in this function)
> ../Libnet/conn_table.c:22: error: (Each undeclared identifier is
> reported only once
> ../Libnet/conn_table.c:22: error: for each function it appears in.)
> make[3]: *** [conn_table.lo] Error 1
> 
> At first glance this looks like __USE_UNIX98 not being defined, but I
> haven't yet tracked back to see why that might be.
> 
> This is my first attempt to build any trunk build since 4968, which
> does
> not have this problem.
> 
> - Donald Neal
> 

Donald,

I had the same problem on one of my systems yesterday. I blew away the build I had and started over from scratch and unfortunately the problem went away. I am not suggesting you do that. To accommodate the PTHREAD_MUTEX_ERRORCHECK (which will probably go away in production code) we added the AC_USE_SYSTEM_EXTENSIONS macro to configure.ac. It fixed the problem here but there is something about different builds that causes problems.

Any suggestions from anyone?

Ken


More information about the torquedev mailing list