bugGNU Optical design and simulation library - Bugs: bug #49764, test_rendering.cc:200:10: error:

 
 

bug #49764: test_rendering.cc:200:10: error:

Submitted by:  Giuseppe <scucimaro>
Submitted on:  Sun 04 Dec 2016 06:28:40 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 25 Mar 2017 07:25:26 PM UTC, comment #4:

I attached a patch to fix the sleep()-errors but this leads to a new problem which i don't really know how to get rid of:

g++ -DPACKAGE_NAME=\"goptical_design\" -DPACKAGE_TARNAME=\"goptical_design\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"goptical_design\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"goptical_design\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -I. -I../src -I/home/grindhold/hg/goptical2/goptical_core/src -DNDEBUG -g -O2 -Wall -MT test_cassegrain.o -MD -MP -MF .deps/test_cassegrain.Tpo -c -o test_cassegrain.o test_cassegrain.cc
mv -f .deps/test_cassegrain.Tpo .deps/test_cassegrain.Po
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wall -o test_cassegrain test_cassegrain.o ../src/libgoptical_design.la -lm
libtool: link: g++ -g -O2 -Wall -o .libs/test_cassegrain test_cassegrain.o ../src/.libs/libgoptical_design.so -lm
/usr/bin/ld: test_cassegrain.o: undefined reference to symbol '_ZNK9_Goptical3Sys7Surface9intersectERKNS_5Trace6ParamsERNS_4Math10VectorPairILi3EEERKS8_'
//home/grindhold/hg/goptical2/goptical_core/src/.libs/libgoptical-1.0.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:570: recipe for target 'test_cassegrain' failed
make[2]: *** [test_cassegrain] Error 1
make[2]: Leaving directory '/home/grindhold/hg/goptical2/goptical_design/tests'
Makefile:408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/grindhold/hg/goptical2/goptical_design'
Makefile:407: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

grindhold <grindhold>
Sat 25 Mar 2017 07:08:15 PM UTC, comment #3:

i suffer from the same bug

grindhold <grindhold>
Sun 04 Dec 2016 06:28:40 PM UTC, comment #2:

This item has been reassigned from the project Savannah Administration support tracker to your tracker.

The original report is still available at support #109195

Following are the information included in the original report:

[field #0] Item ID: 109195
[field #1] Group ID: 5802
[field #2] Open/Closed: Open
[field #3] Severity: 3 - Normal
[field #4] Privacy: Public
[field #8] : Unknown support Field Display Type
[field #9] Category: None
[field #10] Submitted by: scucimaro
[field #11] Assigned to: None
[field #12] Submitted on: Sun 04 Dec 2016 10:48:23 AM MST
[field #13] Summary: test_rendering.cc:200:10: error:
[field #14] Original Submission: Hi,
I'm a professional optical designer, I'm interested to understand how this software works and help if possible with the development on the user side mainly.

I have problems with the installation. At the command make I get back

test_rendering.cc:200:10: error:‘sleep’ was not declared in this scope sleep(5);

I'm running Ubuntu 14.04

In the help repository there is no answer to this.
Please help me if you can.

In attachment the output from my ./configure and make check
My Ubuntu speaks Italian therefore there might be some (for you) weird word in the make check output

Regards
G.

[field #16] Item Group: None
[field #17] Status: None
[field #18] Component Version: None
[field #19] Operating System: GNU/Linux
[field #20] Reproducibility: None
[field #21] Size (loc): None
[field #22] Fixed Release: None
[field #23] Planned Release: None
[field #24] Effort: 0.00
[field #28] Priority: 5 - Normal
[field #31] Percent Complete: 0%
[field #33] Release: None
[field #36] Originator Email: giuseppe.crescenzio@hotmail.com
[field #58] Custom Select Box #1: None
[field #59] Custom Select Box #2: None
[field #60] Custom Select Box #3: None
[field #61] Custom Select Box #4: None
[field #62] Custom Select Box #5: None
[field #63] Custom Select Box #6: None
[field #64] Custom Select Box #7: None
[field #65] Custom Select Box #8: None
[field #66] Custom Select Box #9: None
[field #67] Custom Select Box #10: None

Bob Proulx <rwp>
Sun 04 Dec 2016 06:28:38 PM UTC, comment #1:

I am sorry but you have submitted this to the Savannah software forge administration project and not to goptical. I will attempt to transfer it to goptical. However goptical does not appear to use the Savannah bug tracker. I suggest contacting them on the bug-goptical AT gnu.org mailing list.

Bob Proulx <rwp>
Sun 04 Dec 2016 06:28:40 PM UTC, original submission:

Hi,
I'm a professional optical designer, I'm interested to understand how this software works and help if possible with the development on the user side mainly.

I have problems with the installation. At the command make I get back

test_rendering.cc:200:10: error:‘sleep’ was not declared in this scope sleep(5);

I'm running Ubuntu 14.04

In the help repository there is no answer to this.
Please help me if you can.

In attachment the output from my ./configure and make check
My Ubuntu speaks Italian therefore there might be some (for you) weird word in the make check output

Regards
G.

Giuseppe <scucimaro>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40142:  sleep_not_found.patch added by grindhold (1KiB - text/x-diff - fix for this bug)
file #39144:  conf added by scucimaro (17KiB - application/octet-stream)
file #39145:  mak added by scucimaro (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by grindhold (Posted a comment)
  • -unavailable- added by rwp (Posted a comment)
  • -unavailable- added by scucimaro (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Mar 2017 07:21:19 PM UTCgrindholdAttached File-=>Added sleep_not_found.patch, #40142
    Sun 04 Dec 2016 06:28:40 PM UTCrwpReassign itemSavannah Administration, sr #109195=>GNU Optical design and simulation library, bug #49764

    Back to the top


    Powered by Savane 3.1-cleanup1