Re: Compile error "recompile with -fPIC"

2018-08-10 Thread shilparavindra03
On Tuesday, June 20, 2017 at 8:42:59 PM UTC+5:30, Henning Schild wrote: > Am Tue, 20 Jun 2017 04:36:14 -0700 > schrieb mike : > > > Henning, > > i installed gcc-5 with the same results: > > > > mike@ubuntu1704ssd:~/jailhouse/jailhouse$ sudo apt-get install gcc-5 > > mike@ubuntu1704ssd:~/jailhouse

Re: Compile error "recompile with -fPIC"

2018-08-10 Thread shilparavindra03
Hi, Even am getting similar kind of error but the difference is am executing in CentOS 7.5. and am not able to find in which make file i need to add -fPIC option because tools/makefile is not present. ERROR obtained : g++ -shared -fPIC -o Build/libNSCGBI.so dllmain.o NSCGBI.o /usr/bin/ld: NS