[torqueusers] problems with build and gcc compiler

Juergen Kabelitz jkabelitz at sysgen.de
Mon Jul 14 06:22:33 MDT 2008


Hello folks,

I will build the torque system on a system with open suse version 11
uname -a

uname -a
Linux tamaro 2.6.25.9-0.2-default #1 SMP 2008-06-28 00:00:07 +0200 x86_64 x86_64 x86_64 GNU/Linux

When I build the system I got an error message.

gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -I../Libdis -DIFF_PATH=\"/usr/local/sbin/pbs_iff\" -DPBS_DEFAULT_FILE=\"/var/spool/torque/server_name\" -g -O2 -D_LARGEFILE64_SOURCE -W -Wall -Wno-unused-parameter -Wno-long-long -pedantic -Werror -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c ../Libnet/md5.c  -fPIC -DPIC -o .libs/md5.o
cc1: warnings being treated as errors
../Libnet/net_server.c: In function ?netcounter_incr?:
../Libnet/net_server.c:152: error: call to function ?time? without a real prototype
../Libnet/net_server.c:118: note: ?time? was declared here
../Libnet/net_server.c: In function ?wait_request?:
../Libnet/net_server.c:445: error: call to function ?time? without a real prototype
../Libnet/net_server.c:118: note: ?time? was declared here
../Libnet/net_server.c:478: error: call to function ?time? without a real prototype
../Libnet/net_server.c:118: note: ?time? was declared here
../Libnet/net_server.c: In function ?accept_conn?:
../Libnet/net_server.c:543: error: call to function ?time? without a real prototype
../Libnet/net_server.c:118: note: ?time? was declared here
../Libnet/net_server.c: In function ?add_conn?:
../Libnet/net_server.c:608: error: call to function ?time? without a real prototype
../Libnet/net_server.c:118: note: ?time? was declared here
cc1: warnings being treated as errors


With the option -disable-gcc-warnings the build are made.


J. Kabelitz
sysGen GmbH
Support und Technik Clustersysteme
Am Hallacker 48
28327 Bremen
Tel.: +49 421 40966-28
Fax: +49 421 40966-33
jkabelitz at sysgen.de<mailto:jkabelitz at sysgen.de>
www.sysgen.de<http://www.sysgen.de>
Geschaeftsfuehrerin Gabriele Nikisch
Eingetragen beim Amtsgericht
Walsrode HRB 121943


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20080714/cedeff7c/attachment.html


More information about the torqueusers mailing list