Hi - We have Red Hat Advanced Server 2.1 Linux with glibc-2.2.4-32.3 and below code is giving some error. Any help will be highly appreciated. thanks, Umut a.c: int g_var=0; a() { g_var = 1; } b.c: b() { a(); } %cc -c -o a.o a.c %ar r liba.a a.o %cc -c -o b.o b.c %cc -shared -o b.so b.o liba.a /usr/bin/ld: a.o: @gprel relocation against dynamic symbol g_var collect2: ld returned 1 exit statusReceived on Wed Jun 04 17:34:02 2003
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:15 EST