Thread: Problem of compilation with solaris 2.7
Hello, I use the following configuration : machine : sun sparc ultra 5 . system : solaris 2.7 . cc : cc from sun workshop compiler 4.2 . postgres : postgres 7.0.2 The result of the compilation is : Problem of linking : when creating the file "ecpg", the symbol "nocachegetattr" is said to be undefined, whereas it was first referenced in file "pgc.o" . So we can read : ld : fatal : Symbol referencing errors. No output written to ecpg. make[3]:Leaving directory /usr/local/postgresql-7.0.2/src/interfaces/ecpg/preproc Thanks a lot in advance... Mickael. __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
In the file src/template/solaris_sparc_cc remove -DDISABLE_COMPLEX_MACRO and rebuild. This is fixed for the future. FEYS Mickael writes: > Hello, > > I use the following configuration : > > machine : sun sparc ultra 5 . > system : solaris 2.7 . > cc : cc from sun workshop compiler 4.2 . > postgres : postgres 7.0.2 > > The result of the compilation is : > > Problem of linking : when creating the file "ecpg", > the symbol "nocachegetattr" is said to be undefined, > whereas it was first referenced in file "pgc.o" . > > So we can read : > ld : fatal : Symbol referencing errors. No output > written to ecpg. > make[3]:Leaving directory > /usr/local/postgresql-7.0.2/src/interfaces/ecpg/preproc > > Thanks a lot in advance... > Mickael. > > __________________________________________________ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > > -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden