gcc -ladmesh: undefined reference to `stl_...'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
admesh (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to compile a simple admesh program, I get undefined references.
$ podman run -ti ubuntu /bin/bash
root@ea3b7cce07
root@ea3b7cce07
...
Preparing to unpack .../77-
Unpacking libadmesh1:amd64 (0.98.3-2) ...
root@ea3b7cce07
#include <stdlib.h>
#include <admesh/stl.h>
int main(void) {
stl_file stl;
char *filename = "directory/
stl_open(&stl, filename);
stl_exit_
stl_close(&stl);
return EXIT_SUCCESS;
}
root@ea3b7cce07
-ladmesh
root@ea3b7cce07
/tmp/ccTjhgWs.o: In function `main':
source.
source.
source.
collect2: error: ld returned 1 exit status
This does not happen on Debian, but it does happen on Ubuntu.