Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.1.0.14.2.20030828211115.00b70cc0@pop.gmx.net> X-Sender: 11509290 AT pop DOT gmx DOT net Date: Thu, 28 Aug 2003 21:21:26 -0700 To: cygwin AT cygwin DOT com From: Dean Strotz Subject: gcc / renderman compile question Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed hello everybody. i am trying slowly but steadily to switch from microsoft visual studio to gcc, but i am having some issues. as i try to compile my light.c example with gcc with the mentioned options, i get the following errors. can anybody tell my what i do wrong or do not set as option or else whats going on. the idea is to include ri.h of C:\BMRT2.2\include and link it against libribout.lib the executable will then be able to generate rib code from c code. any help is apprechiated. sincerely dean C:\Documents and Settings\Dean\Desktop\renderman essential\trials>gcc light.c -I C:\BMRT2.6\include C:\BMRT2.6\lib\libribout.lib -o light.exe C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/ribegend.obj)(.text+0x6):src\lib ri3\ribegen: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rigeom.obj)(.text+0x6):src\libri 3\rigeom.: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rigeom.obj)(.text+0x6):src\libri 3\rigeom.: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rigeom.obj)(.text+0x6):src\libri 3\rigeom.: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rigeom.obj)(.text+0x6):src\libri 3\rigeom.: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rigeom.obj)(.text+0x6):src\libri 3\rigeom.: more undefined references to `__chkstk' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribbegin.obj)(.text+0x3):src\ libribout\ribb: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0x86):src\lib ri3\rierror: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0xaf):src\lib ri3\rierror: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0xd2):src\lib ri3\rierror: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0x1c5):src\li bri3\rierror: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0x1e4):src\li bri3\rierror: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libri3/rierror.obj)(.text+0x22e):src\li bri3\rierror: more undefined references to `__iob' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x6):src\li bribout\ribo: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x6):src\li bribout\ribo: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x6):src\li bribout\ribo: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x321):src\ libribout\ribo: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x379):src\ libribout\ribo: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x3bb):src\ libribout\ribo: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x3d8):src\ libribout\ribo: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x11):src\l ibribout\ribo: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x1f):src\l ibribout\ribo: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribout.obj)(.text+0x3):src\li bribout\ribo: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/declist.obj)(.text+0x32):src \libclasses\dec: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/declist.obj)(.text+0x6e):src \libclasses\dec: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/declist.obj)(.text+0xcb):src \libclasses\dec: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/declist.obj)(.text+0x11):src \libclasses\dec: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/declist.obj)(.text+0x24e):sr c\libclasses\dec: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribmaketx.obj)(.text+0x6):src \libribout\ribm: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribmaketx.obj)(.text+0x6):src \libribout\ribm: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribmaketx.obj)(.text+0x6):src \libribout\ribm: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribmaketx.obj)(.text+0x6):src \libribout\ribm: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: more undefined references to `__chkstk' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x198):src \libribout\ribg: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: more undefined references to `__chkstk' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x86):src\ libribout\ribg: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0xa2):src\ libribout\ribg: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0xc2):src\ libribout\ribg: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x8a):src\ libribout\ribg: undefined reference to `__iob' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribgeom.obj)(.text+0x6):src\l ibribout\ribg: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribshader.obj)(.text+0x6):src \libribout\ribs: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribshader.obj)(.text+0x6):src \libribout\ribs: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribshader.obj)(.text+0x6):src \libribout\ribs: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribshader.obj)(.text+0x6):src \libribout\ribs: undefined reference to `__chkstk' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libribout/ribshader.obj)(.text+0x6):src \libribout\ribs: more undefined references to `__chkstk' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0x4):src\li brend\rendin: undefined reference to `__purecall' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0x8):src\li brend\rendin: undefined reference to `__purecall' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0xc):src\li brend\rendin: undefined reference to `__purecall' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0x10):src\l ibrend\rendin: undefined reference to `__purecall' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0x14):src\l ibrend\rendin: undefined reference to `__purecall' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.rdata+0x18):src\l ibrend\rendin: more undefined references to `__purecall' follow C:\BMRT2.6\lib\libribout.lib(obj/intelnt/librend/rendint.obj)(.text+0x11):src\li brend\rendin: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/hashtab.obj)(.text+0x11):src \libclasses\has: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/hashtab.obj)(.text+0x4a):src \libclasses\has: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/hashtab.obj)(.text+0x42):src \libclasses\has: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x39):s rc\libclasses\par: undefined reference to `??2 AT YAPAXI@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x1a):s rc\libclasses\par: undefined reference to `??3 AT YAXPAX@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x13):s rc\libclasses\par: undefined reference to `?cout@@3Vostream_withassign@@A' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x18):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT PBD@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x1f):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT PBD@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x26):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT PBD@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x2d):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT H@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x36):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT E@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x9):sr c\libclasses\par: undefined reference to `?cout@@3Vostream_withassign@@A' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0xe):sr c\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT PBD@Z' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x28):s rc\libclasses\par: undefined reference to `?cout@@3Vostream_withassign@@A' C:\BMRT2.6\lib\libribout.lib(obj/intelnt/libclasses/paramlist.obj)(.text+0x2d):s rc\libclasses\par: undefined reference to `??6ostream@@QAEAAV0 AT E@Z' collect2: ld returned 1 exit status C:\Documents and Settings\Dean\Desktop\renderman essential\trials> -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/