Boost logo

Boost Users :

From: Olaf Peter (ope-devel_at_[hidden])
Date: 2021-03-04 18:38:33


Hello Boost users
>
> I have here a strange problem which occurs only if I try to build with
> precompiled headers using CMake. I've configured the project for use
> with dynamically linking. The error is:
>
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/crt1.o: in
> function `_start':
> (.text+0x24): undefined reference to `main'
>
> Something obvious?
>
> Thanks in advance
>
>
> The project's reduce is:
>
[...]

attached a minimal example. So it can be reproduced.







Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net