Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

Question about buliding GO/go_200305-utilities-src/c-lib

Dapeng.Xu at aventis.com Dapeng.Xu at aventis.com
Tue Jun 3 10:18:15 PDT 2003


Dear all,

GO/go_200305-utilities-src/c-lib is part of GO. When I was trying to build
this, I met some problem. I met more problem when I tried to fix the problem.

The following is part the error message

*****************************************************************************
*****************************************************************************
****
> make libGO.so
make: *** Warning: File `Makefile' has modification time in the future
(2003-06-03 11:58:17.600001 > 2003-06-03 11:57:39.119953094)
gcc -I/usr/local/include/glib-2.0  -I/usr/local/lib/glib-2.0/include/
-I/usr/local/include -shared -o libGO.so golib.c  -L/usr/local/lib/
-lglib-2.0    
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x149c      /var/tmp/ccv38sVN.o
<unknown>                           0x14a0      /var/tmp/ccv38sVN.o
<unknown>                           0x158c      /var/tmp/ccv38sVN.o
<unknown>                           0x1590      /var/tmp/ccv38sVN.o
<unknown>                           0x40        /var/tmp/ccv38sVN.o
<unknown>                           0x44        /var/tmp/ccv38sVN.o
<unknown>                           0x200       /var/tmp/ccv38sVN.o
<unknown>                           0x204       /var/tmp/ccv38sVN.o
<unknown>                           0x234       /var/tmp/ccv38sVN.o
<unknown>                           0x238       /var/tmp/ccv38sVN.o
<unknown>                           0x3d0       /var/tmp/ccv38sVN.o
fprintf                             0x4c        /var/tmp/ccv38sVN.o
fprintf                             0x20c       /var/tmp/ccv38sVN.o
fprintf                             0x240       /var/tmp/ccv38sVN.o
fprintf                             0x22e8      /var/tmp/ccv38sVN.o
fprintf                             0x2430      /var/tmp/ccv38sVN.o
fprintf                             0x2504      /var/tmp/ccv38sVN.o
fprintf                             0x28e4      /var/tmp/ccv38sVN.o
...

ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libGO.so] Error 1
*****************************************************************************
*****************************************************************************
****

It seems like the standard C library can not be found. However, the C library
is there when I run other compilations. Later, we discovered that the -shared
option has something to do with the error. So we ger rid of it and get the
following error message:

*****************************************************************************
*****************************************************************************
****
> gcc -I/usr/local/include/glib-2.0  -I/usr/local/lib/glib-2.0/include/
-I/usr/local/include -o libGO.so golib.c  -L/usr/local/lib/ -lglib-2.0
Undefined                       first referenced
 symbol                             in file
pow                                 /var/tmp/ccvS3e1U.o
main
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/crt1.o
ld: fatal: Symbol referencing errors. No output written to libGO.so
collect2: ld returned 1 exit status
*****************************************************************************
*****************************************************************************
****

Also, the Makefile in c-lib directory seems outdated.

Can someone help me?


thanks,

Dapeng




--
This message is from the GOFriends moderated mailing list.  A list of public
announcements and discussion of the Gene Ontology (GO) project.
Problems with the list?           E-mail: owner-gofriends at geneontology.org
Subscribing   send   "subscribe"   to   gofriends-request at geneontology.org
Unsubscribing send   "unsubscribe"  to  gofriends-request at geneontology.org
Web:          http://www.geneontology.org/



More information about the go-friends mailing list