Skip to content

Failed to compile "stream" module into binary. #546

@IngwiePhoenix

Description

@IngwiePhoenix

I was trying to find out how I could compile an all-static binary, but it doesnt load stream now...

Ingwie@Ingwies-Macbook-Pro.local ~/W/G/d/out $ gcc ../kernel/*.c -o dao -DBSD -DUNIX -DMACOSX -DPLAT=\"macosx\" -DDAO_WITH_THREAD -DDAO_WITH_CONCURRENT -DDAO_WITH_NUMARRAY -DDAO_USE_READLINE -DTRACING_ON -lreadline ../modules/stream/*.c ../modules/auxlib/*.c -I ../kernel/ -I ../modules/auxlib/ -DDAO_HAS_STREAM -DDEBUG
../modules/stream/dao_stream.c:675:9: warning: 'DAO_HAS_STREAM' macro redefined [-Wmacro-redefined]
#define DAO_HAS_STREAM
        ^
<command line>:10:9: note: previous definition is here
#define DAO_HAS_STREAM 1
        ^
1 warning generated.
Ingwie@Ingwies-Macbook-Pro.local ~/W/G/d/out $ ./dao ../tools/filetools/archive.dao 
[[ERROR]] in file "/Users/Ingwie/Work/Git/dao/tools/filetools/archive.dao":
  At line 1 : Loading failed;

Any idea on how I could fix this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions