Skip to content

makefile erroring in a strange way #1

@rebmcr

Description

@rebmcr

Hi, thanks for hosting this repo, and sorry for raising this issue such a long time after its last commit! In case you are still interested in the content, perhaps this information is welcome:

I'm trying to compile the rastertoultra filter for CUPS (which I believe relates to the security overlay that these printers apply to cards), so I executed make in the root of the repo, and after a bunch of warnings and notes (which I think don't matter), I get this error:

/usr/bin/ld: /tmp/ccLF6Mtu.o: in function `main':
rastertoultra.c:(.text.startup+0x6c): undefined reference to `initializeSettings'
collect2: error: ld returned 1 exit status
make: *** [makefile:68: rastertoultra] Error 1

I've looked inside the rastertoultra.c file, and I can see that initializeSettings is indeed called inside main on line 7619, but also that it is actually defined starting on line 857, and unfortunately I don't know any C with which I could diagnose further.

I'm using Ubuntu 20.04 with the libcups2-dev package (cups-devel isn't available for this platform, but I believe they are equivalent) and my gcc version is 9.4.0 with ld 2.34 and make 4.2.1

Would you have any suggestions for tracing the cause of the error please?

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