ubichinon
November 26th, 2010, 11:43 PM
Hi!
I tried to compile a program called molden on ubuntu 10.04
and when I compile I get
cc -c -DDOBACK -DHASTIMER -c -o xwin.o xwin.c
xwin.c:3795: error: ‘linkat’ redeclared as different kind of symbol
/usr/include/unistd.h:812: note: previous declaration of ‘linkat’ was here
xwin.c: In function ‘DebugStructure’:
xwin.c:12857: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘struct QBOXSTRU *’
xwin.c: In function ‘write_spectrum’:
xwin.c:35000: warning: unknown conversion type character 0xa in format
make: *** [xwin.o] Error 1
Someone came across this or knows how to fix it?
Cheers
Ubichinon
I tried to compile a program called molden on ubuntu 10.04
and when I compile I get
cc -c -DDOBACK -DHASTIMER -c -o xwin.o xwin.c
xwin.c:3795: error: ‘linkat’ redeclared as different kind of symbol
/usr/include/unistd.h:812: note: previous declaration of ‘linkat’ was here
xwin.c: In function ‘DebugStructure’:
xwin.c:12857: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘struct QBOXSTRU *’
xwin.c: In function ‘write_spectrum’:
xwin.c:35000: warning: unknown conversion type character 0xa in format
make: *** [xwin.o] Error 1
Someone came across this or knows how to fix it?
Cheers
Ubichinon