Menu

#221 Cygwin doesn't like test code

closed-fixed
5
2002-11-16
2002-11-11
Justin Kerk
No

Running make in the tests folder barfs:

gcc -o test test.o format.o arith.o -L../../lib -lagi
-lsarien -lwinmm -lgdi32 -lcomdlg32
../../lib/libagi.a(console.o)(.text+0x8cc): In function
`ccmd_quit':
/cygdrive/c/cvsroot/sarien_anon/sarien/src/core/console.c:281:
undefined reference to `_deinit_machine'
collect2: ld returned 1 exit status
make: *** [test] Error 1

Sarien otherwise builds and works fine, however.

Discussion

  • Claudio Matsuoka

    Logged In: YES
    user_id=189716

    Initialization/deinitialization code from init_machine() and
    deinit_machine() moved to init_video and deinit_video, allowing
    us to remove the deinit_machine() call from ccmd_console().
    Only the Amiga and MS-DOS driver actually had code in
    deinit_machine(). init_machine() and deinit_machine() are now
    only empty functions that can be removed in a future code
    revision.

    The tests now build correcly on Unix, Win32 and MS-DOS
    (Turbo C).

     
  • Claudio Matsuoka

    • labels: --> win32 specific
    • assigned_to: nobody --> cmatsuoka
    • status: open --> closed-fixed