Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - gcc installation on QNX 6.6: Page 1 of 15 (15 Items)
   
gcc installation on QNX 6.6  
Hi,

I have been able to successfully bootstrap pkgsrc on QNX 6.6 (x86 VM), following the instructions on the wiki (http://
community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/wiki/PkgsrcOnQnx6.6?showDetails=true)

I am trying to get gcc 4.8 installed, but am getting compile errors during the build of the nbpatch dependency. This is 
the error message I am getting:

/opt/qnx/qnx660/target/qnx6/x86/lib/libc.a(getopt_long.o): In function `getopt_long':
(.text+0xa80): multiple definition of `getopt_long'
/opt/qnx/pkgsrc/devel/nbpatch/work/libnbcompat/libnbcompat.a(getopt_long.o):getopt_long.c:(.text+0x120): first defined 
here
collect2: error: ld returned 1 exit status

Looking at the configure output, there should be a way to disable the building of the includeed getopt_long.c file, 
which would be my next step. Is this the right thing to do? Any help will be greately appreciated.

Best regards,
damjan